I am using two Solr Cloud Instance with two Zookeeper and indexed Commerce Indexes (CustomersScope, OrdersScope, CatalogItemsScope) in it. And now I want to apply Switch On Rebuild for that collections. But after making some changes in the wwwroot\data\Environments\PlugIn.Search.PolicySet-1.0.0.json as :
"$type": "Sitecore.Commerce.Plugin.Search.SearchScopePolicy, Sitecore.Commerce.Plugin.Search", "Name": "CatalogItemsScope", "CurrentIndexName":"CatalogItemsScope", "SwitchOnRebuild": true, "SwitchOnRebuildReset": false, "SwitchOnRebuildClearPreviousIndex": true, "SwitchOnRebuildPrimaryIndexName":"CatalogItemsScope", "SwitchOnRebuildSecondaryIndexName":"CatalogItemsScope-Rebuild", }
I made these changes in the Commerce Authoring JSON file. And then I am rebuilding the indexes with the help of Postman by Running the full index Minion for each of them.
But still, I am not able to enable SwitchOnRebuild.
I also have a doubt that did we need to do it for the Commerce Default indexes while working with SolrCloud.
If No then why it's not working. If Yes then how I can achieve that.
Also, I have not created any alias in SolrCloud. I don't know what things or what collections, I need to create manually in SolrCloud.
Any Help would be great! Thanks in Advance.