Clone an Index Elasticsearch 6.7

What's the best way to clone index in Elasticsearch 6.7

Snapshot the index and restore it in the same cluster using the rename functionality:
https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-restore-snapshot.html#snapshots-restore-snapshot

Otherwise, you can do a reindex, but you're actually reindexing all the documents: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.