On Wed, Mar 30, 2011 at 03:53:32AM -0400, Lee Goddard via RT wrote:
Show quoted text> Wed Mar 30 03:53:32 2011: Request 67083 was acted upon.
> Transaction: Ticket created by LGODDARD
> Queue: KinoSearch1
> Subject: QueryParser
> Broken in: 1.01
> Severity: Wishlist
> Owner: Nobody
> Requestors: LGODDARD@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=67083 >
>
>
> It would be nice to have something like Lucene's QueryParser.
Well, there is a QueryParser module, which is indeed "like Lucene's
QueryParser". Was it just not easily found, or is it not enough like the
Lucene variant for you? As great a library as Lucene is, we explicitly do not
plan to copy it.
Show quoted text> If the modules were pure Perl, I'd have a go, but my C is a bit rusty.
Interestingly, this ticket was for KinoSearch1, the stable fork of KinoSearch
0.1x, and in this distribution the QueryParser, located at
KinoSearch1::QueryParser::QueryParser, happens to be written in pure Perl.
In the current API-unstable mainline, the QueryParser, located at
KinoSearch::Search::QueryParser is implemented in C. However, it is
subclassable from pure Perl, as KinoSearch::Docs::Cookbook::CustomQueryParser
illustrates.
Marvin Humphrey