lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Norouzi" <>
Subject Re: pagination
Date Wed, 21 Feb 2007 14:58:17 GMT
I've overcome this problem without HitCollector, I build an interface just
like java.sql.ResultSet and its implementation class accept a Hits as
parameter and provide next() previous() etc. method to navigate between
in my opinion this is a good solution.
Hope this help you

On 2/21/07, Kainth, Sachin <> wrote:
> Hello,
> I was wondering if Lucene provides any mechanism which helps in
> pagination.  In other words is there a way to return the first 10 of 500
> results and then the  next 10 and so on.
> Cheers
> This email and any attached files are confidential and copyright
> protected. If you are not the addressee, any dissemination of this
> communication is strictly prohibited. Unless otherwise expressly agreed in
> writing, nothing stated in this communication shall be legally binding.
> The ultimate parent company of the Atkins Group is WS Atkins
> plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove,
> Ashley Road, Epsom, Surrey KT18 5BW.
> Consider the environment. Please don't print this e-mail unless you really
> need to.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message