I'm wondering if there is a way to query elasticsearch with unlimited size parameter in request body search (where default is 10). Using ES version 2.3
Asked
Active
Viewed 5,963 times
2
-
Possible duplicate of [Setting Elastic search limit to "unlimited"](https://stackoverflow.com/questions/14396582/setting-elastic-search-limit-to-unlimited) – Nir Alfasi Sep 03 '17 at 19:22
1 Answers
0
Yes, you can use the Scroll API. documentation - https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html
this will allow you to get unlimited data, you specificy a size and will get it in batches. hope that helps :)

Ran Sasportas
- 2,256
- 1
- 14
- 21
-
1Could you include content of the site in your answers since the site you're referencing to maybe either changed or gone? – Kamil Nov 02 '20 at 14:55