By using AWS re:Post, you agree to the Terms of Use
/How to increase index.max_result_window on Elasticsearch?/

How to increase index.max_result_window on Elasticsearch?


I am using AWS lambda function to save response in S3 bucket. I am able to save response size upto 10000. But, when increased beyond 10000 I end up getting the error - Result window is too large, from + size must be less than or equal to: 10000 but was 25000. I am unable to increase the limit of the index max result window size greater than 10000. How do I proceed with the issue?

1 Answers

Use this below for reference: curl -XPUT "http://localhost:9200/my_index_name_here/_settings" -d '{ "index" : { "max_result_window" : 450000 } }' -H "Content-Type: application/json"

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions