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?

posta 2 anni fa5086 visualizzazioni
1 Risposta
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"

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande