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" } }
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" } }