Pulling more than 10000 records from elasticsearch query

We can get maximum 10000 records by using size parameter.
What if we get more than 20000 records after applying filter query.
Please update if there is any way to see records beyond 10000.

You can use size and from parameters to display by default up to 10000 records to your users. If you want to change this limit, you can change index.max_result_window setting but be aware of the consequences (ie memory).
You can use the search after feature to do deep pagination.
You can use the Scroll API if you want to extract a resultset to be consumed by another tool later.

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