解决elasticsearch index.max_result

2019-02-27  本文已影响0人  勿忘初衷_d102

使用以下命令:

curl -XPUT 111.22.111.123:9200/index/_settings -H 'Content-Type: application/json' -d '{ "index.max_result_window" :"1000000"}'

111.22.111.123:9200为es服务器地址

index为索引名称

index.max_result_window配置为100万大小

上一篇 下一篇

猜你喜欢

热点阅读