[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#475477: ITP: liblucene-queryparser-perl -- Turn a Lucene query into a Perl data structure



Package: wnpp
Severity: wishlist
Owner: Dominic Hargreaves <dom@earth.li>

* Package name    : liblucene-queryparser-perl
  Version         : 1.04
  Upstream Author : Simon Cozens
* URL             : http://search.cpan.org/dist/Lucene-QueryParser/
* License         : Dual GPL/Artistic
  Programming Lang: Perl
  Description     : Turn a Lucene query into a Perl data structure

This module parses a Lucene query, as defined by
http://lucene.sourceforge.net/cgi-bin/faq/faqmanager.cgi?file=chapter.search&toc=faq#q5

It 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.



Reply to: