incubator-lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <wellnho...@aevum.de>
Subject Re: [lucy-user] num_wanted = $infinity?
Date Thu, 08 Mar 2012 10:07:29 GMT

Using $searcher->doc_max should do the trick.

Nick

On 08/03/2012 04:08, Jason McIntosh wrote:
> Howdy,
>
> Is there a way to tell the searcher that I want to see *all* hits from a query at once,
unbounded by neither offset nor num_wanted parameters? Unless I'm misreading things, if you
don't define num_wanted at all, it defaults to 10 anyway.
>
> Yes, this desire is borne of a stopgap measure until I throw proper results-paging into
my project. But, I'm still curious. (For the nonce I've just set num_wanted to a large number.)
>


Mime
View raw message