Rename and Deleting Elasticsearch Indexes

Viewed 3415

I'm using C# .NET application with NEST to create an index.

I've created an elasticsearch index that customers can query called index_1. I then build another version of the index using a different instance of the application and call it index_1_temp.

What is the safest way for me to rename index_1_temp to index_1 then delete the original index_1?

I know ES has aliases but I'm not sure how to use them for this task

EDIT: The original index does not have an Alias associated with it.

1 Answers
Related