Lucene::QueryParser

Turn a Lucene query into a Perl data structure
Download

Lucene::QueryParser Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Simon Cozens
  • Publisher web site:
  • http://search.cpan.org/~simon/

Lucene::QueryParser Tags


Lucene::QueryParser Description

Turn a Lucene query into a Perl data structure Lucene::QueryParser is a Perl module that parses a Lucene query, as defined by deals with fields, types, phrases, subqueries, and so on; everything handled by the SimpleQuery class in Lucene. The data structure is similar to the one given above, and is pretty self-explanatory.The other function, deparse_query turns such a data structure back into a Lucene query string. This is useful if you've just been mucking about with the data.SYNOPSIS use Lucene::QueryParser; my $structure = parse_query("red and yellow and -(coat:pink and green)");$structure will be: , query => 'SUBQUERY', type => 'PROHIBITED' } ] Requirements: · Perl


Lucene::QueryParser Related Software