RE: Efficiently paginating results.

2006-04-27 Thread Jean Sini
nd only re-running the search if it has been evicted from that cache. Jean -Original Message- From: karl wettin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 12:09 PM To: java-user@lucene.apache.org Subject: Re: Efficiently paginating results. 27 apr 2006 kl. 20.44 skrev

Efficiently paginating results.

2006-04-27 Thread Jean Sini
Hi, Our application presents search results in a paginated form. We were unable to find Searcher methods that would return, say, 'n' (typically, 10) hits after a start offset 'k'. So we're currently using the Hits collection returned by Searcher.search, and using its Hits.doc(i) method to get th