You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ryan Sonnek <rs...@DigitalRiver.com> on 2004/05/11 15:58:56 UTC
pagable results
When performing a search with lucene, is it possible to only return a subset of the results? I need to be able to page through results, and it seems much more efficient if I can tell the searcher, "only return results 50 - 100", rather than performing the full search.
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: pagable results
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On May 11, 2004, at 9:58 AM, Ryan Sonnek wrote:
> When performing a search with lucene, is it possible to only return a
> subset of the results? I need to be able to page through results, and
> it seems much more efficient if I can tell the searcher, "only return
> results 50 - 100", rather than performing the full search.
Lucene's Hits collection handles this automatically for you. But,
sure, the lower-level API allows you to do this sort of thing if you
really need to. But, again, Hits handles this pretty efficiently for
you already.
Have you experienced some performance issues? Do you have some numbers
and code that you could share that point to some kind of inefficiency?
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: pagable results
Posted by lu...@nitwit.de.
On Tuesday 11 May 2004 15:58, Ryan Sonnek wrote:
> When performing a search with lucene, is it possible to only return a
> subset of the results? I need to be able to page through results, and it
Yes, http://www.nitwit.de/vlh2/ :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org