Getting only 10 search results though I am getting more than 20000 hits. I used size parameter in query but its limit is up to 10000, is there any way we can do pagination?
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.