使用 man ascii 来查看 ASCII 表。

es怎么干掉不用的分片

Elasticsearch | 作者 zhoujin | 发布于2018年01月30日 | 阅读数:1420


怎么把2分片去掉,求大神
TIM图片20180130161948.png
已邀请:

zhoujin

赞同来自:

curl -post /_cluster/reroute

{
"commands": [
{
"allocate": {
"index": "mob_risk_consumer",
"shard": 0,
"node": "node-1",
"allow_primary": true
}
}
]
}
 

要回复问题请先登录注册