Reindex API vs using logstash for reindexing from elastic search 5.5 (remote) to elastic search 7.7 (local)

冷暖自知 提交于 2020-06-29 06:43:31

问题


I am looking for migrating the data from elastic search version 5.5 to 7.7, I found the following two ways,

1) Re_Index API using Java API : https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-document-reindex.html#java-rest-high-document-reindex

which looks easy (as it involves java code) and able to see all the possible cases for moving all the documents from version 5.5 to 7.7

2) Re_Index API using Curl : https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade-remote.html

3) Using logstash : https://discuss.elastic.co/t/elasticsearch-reindex-using-logstash/79143

Which is the most proper way to do this? Any advantages or disadvantages in the above?

来源:https://stackoverflow.com/questions/62431157/reindex-api-vs-using-logstash-for-reindexing-from-elastic-search-5-5-remote-to

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