lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From headhunter <jleimb...@conet.de>
Subject Limit number of search results
Date Tue, 25 Jul 2006 13:49:07 GMT

Hello,

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?

Thanks for answers,
Johannes
-- 
View this message in context: http://www.nabble.com/Limit-number-of-search-results-tf1998377.html#a5485639
Sent from the Lucene - Java Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message