Index Recreation on Sitecore SolrCloud

We perform the index rebuild option in Sitecore CMS to update the indexes. Anyhow, sometimes in a Sitecore SolrCloud, the index is outdated, and the index rebuild option from CMS does not help us to update it.  Therefore, we need to recreate the index manually through the Solr Admin UI to overcome this issue. 

In this blog post, I am describing to you the steps to recreate the index manually on Sitecore_web_index.

Step 1: Log into the Solr Admin UI by using the URL and authentication.

index-recreation-sc-solrcloud-1

Step 2: After login, in the left panel, select Collections > sitecore_web_index and then expand Shard: shard1

index-recreation-sc-solrcloud-2

Step 3: Currently, there are 3 shards per index (Note: there are 3 Solr replicas, so one shard is dedicated to one Solr replica), so we should delete them all by clicking on the x icon and then clicking on the Delete Replica button

index-recreation-sc-solrcloud-3

Step 4: After removing the 3 old ones of sitecore_web_index, we will create 3 new ones by clicking on the add replica button 

index-recreation-sc-solrcloud-4

Step 5: After clicking on add replica, there is a new form is displayed, and please select the default value of the following: 

  • Node: No specified node 
  • Type: NRT 

At last, click on the Create Replica button 

index-recreation-sc-solrcloud-5

Step 6: Repeat step 5, 2 more times to ensure that there are 3 shards available for sitecore_web_index.

Step 7: Follow these instructions to use the Sitecore Control Panel to rebuild sitecore_web_index on the Sitecore end. 

Step 8: In Solr Admin UI, on the left panel, select Cloud > Nodes to view the statistics of all the indexes 

index-recreation-sc-solrcloud-5

Step 9: There are 3 Solr nodes (e.g, 3 Solr replicas) available. The statistics of sitecore_web_index should be the same on 3 nodes.

index-recreation-sc-solrcloud-6

Happy Sitecoreing ðŸ˜Š

Comments

Popular posts from this blog

Sitecore Installation Error: Failed to Start Service 'Sitecore Marketing Automation Engine'

Import CSV Data in Sitecore Using PowerShell: Part-3

Error: Method Through Reflection is Not Allowed after Applying Sitecore Hotfix