How to get all results from Elastic Search Index using Powershell and save them locally

At present I'm getting only 10 results form content .but the total shows 12000..i want to get all 12000 results one time. Is there a way to do it?


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.

I did increase the index max_Result_window to 1000000 but no luck

WDYM by no luck? Did you increase the size as well? What is the exact query you are running?

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