Elasticsearch _reindex/elasticsearch-dump does not copy all fields of the source index

人走茶凉 提交于 2020-04-30 08:23:39

问题


I have an index in elasticsearch 6.x, I want to copy this index to new elastic search 7.

I tried using elasticsearch-dump:v6.24.0 & _reindex api. I was able to copy the data from the source index, but not all the fields/properties are getting fully copied. It seems to skip few of them.

where am I going wrong ?

This is the _reindex request.

POST _reindex
{
  "source": {
    "remote": {
      "host": "http://prodsystem:9200"

    },
    "index": "file",
    "query": {
      "match_all": {}
    }
  },
  "dest": {
    "index": "filebkp"
  }
}

来源:https://stackoverflow.com/questions/61079243/elasticsearch-reindex-elasticsearch-dump-does-not-copy-all-fields-of-the-source

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!