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?

preguntada hace 2 años5086 visualizaciones
1 Respuesta
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"

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas