ES报错Result window is too large问题处理
背景:生产环境报错
"reason": "Result window is too large, from + size must be less than or equal to: [10000] but was [10005]. 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."
进入服务器执行以下命令:
curl -XPUT http://192.168.6.201:9200/avc_demand_mining/_settings -d '{ "index" : { "max_result_window" : 100000000}}'
aos_demand_mining为索引名
192.168.6.201:9200为IP+端口号
发表评论