Elastic Serach 5.2.2, index.max_result_window : size

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

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 Search After | Elasticsearch Reference [5.4] | Elastic

Thanks David.

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