1. 修改副本数量

### 设置副本数量
PUT {{host}}/{{index}}/_settings
Content-Type: application/json

{
  "index":{
    "number_of_replicas": 0
  }
}

 

2. 配置每分钟解析数量

#配置ES每分钟解析数量
PUT {{host}}/_cluster/settings
content-type: application/json; charset=UTF-8

{
    "persistent": {
        "script.max_compilations_rate": "1200000/1m"
    }
}

每分钟解析数量会影响到ES的最大性能

 

 

 

 

 

 


ES 常用设置修改

 

相关文章:

  • 2022-02-12
  • 2021-12-21
  • 2021-09-21
  • 2021-11-11
  • 2022-12-23
  • 2021-10-09
  • 2021-08-02
  • 2022-01-05
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2021-06-23
  • 2021-08-27
  • 2021-07-28
  • 2022-12-23
相关资源
相似解决方案