es5 想删除一项settings配置 怎么删
匿名 | 发布于2018年07月13日 | 阅读数:5894curl http://xxxxxx/s2/_settings?pretty
{
"s2" : {
"settings" : {
"index" : {
"routing" : {
"allocation" : {
"require" : {
"rack" : "hot"
}
}
},
"number_of_shards" : "5",
"provided_name" : "s2",
"creation_date" : "1531463264882",
"number_of_replicas" : "1",
"uuid" : "DmZkwT4lSZ63xZD78mexzQ",
"version" : {
"created" : "5020299"
}
}
}
}
}
"index.routing.allocation.require.rack":"hot" 怎么删掉
2 个回复
zqc0512 - andy zhou
赞同来自: bettybai 、porchidy
rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk
赞同来自: bettybai 、porchidy
https://www.elastic.co/guide/e ... .html
搜 null
哦,刚发现是 es5,不能通过这种方式
你这个设置的话,设置为 null 是可行的,其他的设置要改为对应的值才可以