How to increase index.max_result_window on Elasticsearch?

0

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?

gefragt vor 2 Jahren5087 Aufrufe
1 Antwort
0

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"

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen