Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $struct = parse_query('(A OR B AND (B OR C*))' );
    
    print Dumper( $struct );
    
  2. or download this
    $VAR1 = bless( [
      bless( {
    ...
        'type' => 'NORMAL'
      }, 'Lucene::QueryParser::Subquery' )
    ], 'Lucene::QueryParser::TopLevel' );