This is exactly how a score-sorted (the default) search works in Lucene. It attempts to return the most relevant results first. Have a look at the docs and the demo and try it out.

-Grant

On Jun 18, 2008, at 10:59 PM, syedfa wrote:


Dear Fellow Java/Lucene developers:

I want to know if there is a way to improve the efficiency of doing a search
using lucene such that when a user does a search, and should there be
hundreds of hits, by paging the results for the user, provide only the best 20 hits first (like google). If the user then goes to the second page, Lucene would then conduct a search and return the next best 20 results, and
so on.  Is this possible using Lucene, and if so, how?

Just wondering.

Thanks to all who respond.
Sincerely;
Fayyaz
--
View this message in context: 
http://www.nabble.com/Improving-search-performance-with-the-results-returned-tp17996441p17996441.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
Grant Ingersoll
http://www.lucidimagination.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to