ES报错Result window is too large问题处理

  • 2017-12-13
  • 43
  • 0
  • 0

背景:生产环境报错

"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+端口号

评论

还没有任何评论,你来说两句吧

发表评论