Elastic Serach 5.2.2, index.max_result_window : size


(Amit) #1

Hi

Currently I have set index.max_result_window = 50000, we are migrating to 5.2.2 , this was working for Elastic Search 2.3.1

I am getting following error on ES 5.2.2:
QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [24691]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.]

What one should use for production environment for 5.2.2.

Thanks,
Amit Sinha


(David Pilato) #2

See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting

Or https://www.elastic.co/guide/en/elasticsearch/reference/5.4/search-request-search-after.html


(Amit) #3

Thanks David.


(system) #4

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