The latter: do the search again and grab the chunk you want. Best not to open the index each time if you can avoid it.
http://wiki.apache.org/lucene-java/LuceneFAQ#How_do_I_implement_paging.2C_i.e._showing_result_from_1-10.2C_11-20_etc.3F -- Ian. On Tue, Nov 15, 2011 at 12:05 PM, Felipe Carvalho <felipe.carva...@gmail.com> wrote: > I've found a couple of people asking around the same thing over the > internet, just wanted to check with the experts if there's a better way to > do this: how do I paginate Lucene search results? Is there a native way to > do this or should I, upon each request, open the index, do the search and > get the slice of results I'm interested? > > Thanks! > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org