After search, you will just get an object Hits, and go through all of the documents by hits.doc(i).
The pagination is controlled by you. Lucene is pre-caching first 200 documents and lazy loading the rest by batch size 200. -- Chris Lu ------------------------- Instant Scalable Full-Text Search On Any Database/Application site: http://www.dbsight.net demo: http://search.dbsight.com Lucene Database Search in 3 minutes: http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes On 6/29/07, Lee Li Bin <[EMAIL PROTECTED]> wrote:
Hi, does anyone knows how to do pagination on jsp page using the number of hits return? Or any other solutions? Do provide me with some sample coding if possible or a step by step guide. Sry if I'm asking too much, I'm new to lucene. Thanks