POST /_aliases
{
"actions": [
{"add": {"index": "xhs-brand-v8","alias": "xhs-brand-alias"}},
{"remove": {"index": "xhs-brand-v7","alias": "xhs-brand-alias"}}
]
}
es index切换别名(别名移除与旧index关系,增加与新index的关系)
最新推荐文章于 2024-05-23 17:56:26 发布