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.)
