Elastic Search异常
SearchPhaseExecutionException: Failed to execute phase [query], all
shards failed; ……
[indices:data/read/search[phase/query]]]; nested:
QueryPhaseExecutionException[Result window is too large, from + size
must be less than or equal to: [500000] but was [530517]
设置索引结果窗口集:
curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_settings -d '{ "index" : { "max_result_window" : 550000}}'