大数据Elasticsearch之修改副本分片的数量

发HTTP请求修改

PUT /myindex/_settings
{
  "number_of_replicas": 1
}

即可把myindex索引的副本分片设置为1份

发布了204 篇原创文章 · 获赞 59 · 访问量 14万+

猜你喜欢

转载自blog.csdn.net/baidu_34122324/article/details/102523826
今日推荐