Reputation: 518
I know we cannot directly rename any solr collection. We can just create an alias that points to the collection. But we have the requirement to rename the collection. Is there any way to achieve the following in solrcloud? (version: apache-solr version 8.4.1)
Our idea initially was to rename the main_collection to backup_collection and then rename temp_collection to main_collection.
Is there any way to achieve the same. So that we cannot experience any downtime with the applications.
Upvotes: 1
Views: 2362
Reputation: 8668
You can try these steps.
Here you can find all the collection apis listed. Collection APIs
Upvotes: 1