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 Lee Li Bin <le...@xedge.com.sg> on 2007/07/02 10:59:14 UTC
RE: Pagination
Hi,
I still have no idea of how to get it done. Can give me some details?
The web application is in jsp btw.
Thanks a lot.
Regards,
Lee Li Bin
-----Original Message-----
From: Chris Lu [mailto:chris.lu@gmail.com]
Sent: Saturday, June 30, 2007 2:21 AM
To: java-user@lucene.apache.org
Subject: Re: Pagination
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_m
inutes
On 6/29/07, Lee Li Bin <le...@xedge.com.sg> 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
>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org