GET _search
{
"query": {
"match_all": {}
}
}
GET _cat/indices
GET _cat/shards
PUT /server-2023.02.09/_settings
{
"number_of_replicas": 0
}
PUT /_cluster/settings
{
"persistent": {
"cluster.routing.allocation.disk.watermark.low": "90%",
"cluster.routing.allocation.disk.watermark.high": "96%",
"cluster.info.update.interval": "1m",
"cluster.routing.allocation.disk.threshold_enabled": true
}
}
PUT _cluster/settings
{
"persistent" : {
"cluster.routing.allocation.exclude._ip" : "10.5.234.66"
},
"transient" :{
"cluster.routing.allocation.exclude._ip" : "10.5.234.66"
}
}
PUT _cluster/settings
{
"persistent" : {
"cluster.routing.allocation.exclude._ip" : null
},
"transient" :{
"cluster.routing.allocation.exclude._ip" : null
}
}
GET _cluster/allocation/explain
GET _cluster/health
GET _cluster/settings
POST /_cluster/reroute?retry_failed=true
PUT _cluster/settings
{
"persistent" : {
"cluster.routing.rebalance.enable" : "all"
}
}
PUT /_cluster/settings
{
"transient": {
"cluster.routing.allocation.node_initial_primaries_recoveries": 20
}
}
PUT /_all/_settings
{
"index.blocks.read_only_allow_delete": null
}
PUT /device-api-backend-2022.10.12/_settings
{
"index.blocks.read_only_allow_delete": null
}
PUT /_cluster/settings
{
"persistent": {
"indices.recovery.concurrent_streams": 8
}
}
GET /_cluster/settings
GET /_cat/nodes?v
PUT /_cluster/settings
{
"persistent": {
"cluster.routing.allocation.cluster_concurrent_rebalance": 6
}
}
标签:settings,性能,GET,allocation,cluster,Elasticsearch,routing,PUT,优化
From: https://www.cnblogs.com/Dev0ps/p/17659680.html