修改es配置--“max_result_window“

1.查询es配置:
curl -XGET xx.xx.xx.xx:9200/index/_settings
2.修改"max_result_window"配置
curl -H “Content-Type:application/json” -XPUT xx.xx.xx.xx:9200/index/_settings -d ‘{“index.max_result_window”:“100000”}’

你可能感兴趣的:(JAVA)