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 Ulrich Mayring <ul...@denic.de> on 2003/06/11 15:04:31 UTC
Paging hits
Hello all,
when I look in the demo examples, then paging the hits is done by
re-running the query with a different start index every time the user
clicks on the "next page" button.
Is that the canonical way of doing it or is there a technique, whereby I
need to run the query only once? I guess I could stuff the Hits object
into a session, but somehow doubt that that's really worth it.
It looks like Google re-runs the query every time, too, probably relying
on some kind of cache. I guess it all boils down to how fast the
searches are going on my site. Any opinions?
cheers,
Ulrich
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org