Result window is too large, from + size must be less than or equal to: [10000] but was [100000]. 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 parameter
I suppose the proper fix would be to modify the code to use the scroll API, but for a quick fix, you can use the following:
curl -XPUT http://1.2.3.4:9200/index/_settings -d '{ "index" : { "max_result_window" : 1000000}}'
Reference:
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html
No comments:
Post a Comment