Any possible way to re-index the current index, just like a copy of current index with associated data in it

I want to re-index the existing index because the current index shows in red status so i want to make it green.
If i create a copy of existing index with the same data linked to it. ill delete the old index that is in red. and then ill keep this newly created green index.
Kindly help us to re-index.

Thanks in advance !!!

If your index is in red status, that means at least one primary shard is not allocated. Reindexing from this would lose the data stored in those unallocated shards. If you are still looking to reindex, use the reindex API but you may also consider allocating an empty primary shard of the red shards if you are OK with losing data.

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