lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toke Eskildsen>
Subject Re: 500 millions document for loop.
Date Thu, 12 Nov 2015 17:42:58 GMT
Valentin Popov <> wrote:

> We have ~10 indexes for 500M documents, each document
> has «archive date», and «to» address, one of our task is
> calculate statistics of «to» for last year. Right now we are
> using search archive_date:(current_date - 1 year) and paginate
> results for 50k records for page. Bottleneck of that approach,
> pagination take too long time and on powerful server it take 
>~20 days to execute, and it is very long.

Lucene does not like deep page requests due to the way the internal Priority Queue works.
Solr has CursorMark, which should be fairly simple to emulate in your Lucene handling code:

- Toke Eskildsen

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message