How to reindex your Elasticsearch data
The Elasticsearch reindex API copies data from one index to another. You can use reindex to change the index mapping, copy data to another cluster, or copy only a subset of data to another index. For example, suppose you want to reindex all the data in index1 into index2. In that case, you run the following example in Kibana dev tools: In this article, we dive into some common issues solved by reindexing as well as troubleshooting issues with reindexing itself.