Retrieving more than 10K documents


(Flavio Tom) #1

I'm using ElasticSearch to generate reports, such as a data warehouse, unfortunately the default configuration of index.max_result_window dont allow more than 10K documents, indeed this is necessary for performance.

How is possible return all documents and keep the value of aggregations concise?

Using: Elasticsearch 6.2.3


(David Pilato) #2

The scroll API is meant for that.


(Flavio Tom) #3

Thanks @dadoonet, the scroll worked quickly and is easy to use.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.