Display the last 100k documents

I want to display the last 100k documents for all indices. Each index with the last 100k

Do you want to display or extract? I don't see much value of displaying 100k docs to a human to be honest. But tell more about your use case.

You can use:

  • the 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).
  • the search after feature to do deep pagination.
  • the Scroll API if you want to extract a resultset to be consumed by another tool later. (Not recommended anymore)

I found want i mean using Bulk API sorry for the explanation above, when i process the document it take all the memory usage so using bulk api well solve this issue. Do you have any other suggestions? Thanks.

Is it the same question as How can I search for the latest data entered in the indexes? ?

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