lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-user] field:term searching
Date Sun, 23 Oct 2011 01:13:53 GMT
goran kent wrote on 10/22/11 3:58 PM:

> my $hits = $poly_searcher->hits(
>    query      => $query,     # $query is the query string itself
>    sort_spec  => $sort_spec,
>    offset     => 0,
>    num_wanted => 10,
> );
> 
> How on earth do I get to QueryParser's methods from here?

parse $query with a QueryParser first, then pass the returned Query object to
$poly_searcher.


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

Mime
View raw message