一:在Linux服务器中执行如下命令(开启es服务)

curl -XPUT http://服务器ip:9200/索引名称/_settings -d '{ "index" : { "max_result_window" : 100000000}}'

二:可以通过访问查询修改后的状态

访问:http://服务器ip:9200/索引名称/_settings/ 查询

示例:
{"school_file":{"settings":{"index":{"number_of_shards":"5","provided_name":"school_file","max_result_window":"100000000","creation_date":"1521469965171","number_of_replicas":"1","uuid":"2OwiBwkSQSmaEiIDX8iUrw","version":{"created":"5050299"}}}}}

相关文章:

  • 2022-12-23
  • 2021-09-28
  • 2021-12-08
  • 2022-12-23
  • 2021-09-24
  • 2022-01-01
  • 2021-06-07
猜你喜欢
  • 2022-03-08
  • 2022-01-12
  • 2021-10-15
  • 2021-05-25
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案