ELK elasticsearch 索引类型错误,又有数据,怎么办,索引复制替换

1、创建索引A
PUT my_index
2、映射索引A内容 GET my_index/_mapping { }
3、复制 post _reindex { "source": { "index": "my_index" }, "dest": { "index": "my_index_new", "op_type": "create" } }

 

posted on 2020-05-19 16:32  陈惟鲜的博客  阅读(354)  评论(0编辑  收藏  举报

导航