问题
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