lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Collector is collecting more than the specified hits
Date Mon, 17 Feb 2014 22:10:07 GMT
This is exactly what searchAfter is for ("deep paging").

Mike McCandless

http://blog.mikemccandless.com


On Mon, Feb 17, 2014 at 3:12 PM, saisantoshi <saisantoshi76@gmail.com> wrote:
> The collector is collecting all the documents. Let's say I have 50k documents
> and I want the collector to give me the results taking the start and
> maxHits. Can we get this functionality from Lucene? For example, very first
> time, I want to collect from 0 -100 & the next time I want to collect from
> 100 - 200. What the collector seems to do right now is collecting all the
> 200 documents and giving me the 100. Can we have the collector do it
> intelligently by remembering the old search results and run the collector
> for the next 100 only.
>
> Thanks,
> Sai.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Collector-is-collecting-more-than-the-specified-hits-tp4117329p4117858.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message