es 复制索引

我们在对索引进行敏感操作之前一般先复制索引及数据

post  _reindex

{
  "source": {
    "index": "旧索引"
  },
  "dest": {
    "index": "新索引",
    "op_type": "create"
  }
}

 

posted @ 2019-05-14 09:59  小跑跑泡  阅读(7586)  评论(0编辑  收藏  举报