Elasticsearch的一些api随记:修订间差异

来自三线的随记
(创建页面,内容为“health /_cat/health /_cluster/health nodes /_cat/nodes cluster allocation explain /_cluster/allocation/explain shards /_cat/shards /_cat/shards?index=index_n…”)
 
无编辑摘要
第13行: 第13行:
settings
settings
  /_cluster/settings?include_defaults=true
  /_cluster/settings?include_defaults=true
; - new version shard allocation config :  cluster.routing.allocation.node_concurrent_recoveries


  # es 6.8.2
  # es 6.8.2
第27行: 第29行:
     }
     }
  }
  }
[[分类:Elasticsearch]]
[[分类:Elasticsearch]]
{{DEFAULTSORT:api随记}}
{{DEFAULTSORT:api随记}}

2021年2月19日 (五) 18:16的版本

health

/_cat/health
/_cluster/health

nodes

/_cat/nodes

cluster allocation explain

/_cluster/allocation/explain

shards

/_cat/shards
/_cat/shards?index=index_name

settings

/_cluster/settings?include_defaults=true
- new version shard allocation config
cluster.routing.allocation.node_concurrent_recoveries
# es 6.8.2
# PUT /_cluster/settings
{
    "persistent": {
        "cluster": {
            "routing": {
                "allocation": {
                    "node_initial_primaries_recoveries": 8
                }
            }
        }
    }
}