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/  .  [email protected]

Reply via email to