headhunter wrote:
I am looking for a way to limit the number of search results I retrieve when
searching.
I am only interested in (let's say) the first ten hits of a query.. maybe I
want to look at hits ten..twenty to, but usually only the first results are
important.
Right now lucene searches through the entire index, returning way more than
the desired ten documents.
Any way to limit this?
Lucene only loads the first 100 hits from the index, the rest of the
results are lazy loaded. I don't think you can reduce this number
without changing the code.
Miles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]