incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-dev] Automagic phrase search
Date Mon, 22 Aug 2011 04:25:12 GMT
Marvin Humphrey wrote on 8/21/11 7:29 PM:

> 
> What would be really useful is a query parser which automatically generates
> query structures like the one built up manually above.  
> 
> If that interests you, I suggest going through the Lucy tutorial if you
> haven't already, as the Lucy::Docs::Tutorial::QueryObjects chapter contains
> relevant material, then checking out Lucy::Docs::Cookbook::CustomQueryParser
> and Lucy::Docs::Cookbook::CustomQuery.
> 

Also look at Search::Query::Dialect::Lucy on CPAN, as that already supports
Proximity natively and includes a ignore_order_in_proximity feature for toggling
with the "strictness" of the proximity. It might also be easier to subclass and
extend if you don't already know Parse::RecDescent.

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message