POST /_reindex
{
"source": {
"index": "news"
},
"dest": {
"index": "news_data"
}
}
For example: my current index name is /news/, after reindex will be "/news_data",
is correct my understanding?
Sorry ya, i already saw this command before, but i not very understand about reindexx..
I need merge together into same nodes.
Mean is my data at D:\Backup_data, but this backup data need paste into elasticsearch 2.4 D:\elasticsearch\data\elasticsearch\nodes\0\indices\news.
i need only paste into same index without affected my current data at elasticsearch 2.4 and without change index name.
Merging data on file system level is not possible.
If you have 2 clusters you can read from one the documents and index them into the second cluster. So technically it will "merge" data on a document level.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.