Hi Team,

We have a Sitecore CMS based project where we are facing the intermittent issue 
in search functionality on Production. In our production environment we have 
one Sitecore CM server and 2 on premise CD servers and one Azure Prod Server.

Solr Server Configuration:

On Production there is one Master and two Slave solr servers. We are using 
Master-Slave solr setup and configured solr load balancing URL in both prod CM 
and CD servers.

Problem Statement :
We are facing intermittent issues for our custom indexes due to which our 
search is not working properly. After investigation, we found that custom 
indexes in one of the solr slave server are getting out of sync sometimes with 
the master solr server. Every time to resolve that issue, we need to rebuild 
the custom indexes to get the search results.

Our custom indexes have primary and secondary cores which also points 
differently in master and slave servers as we are using 
SwitchOnRebuildSolrSearchIndex.
Example : search_index (Primary core) and search_index_rebuild(Secondary core)

Version:
Solr version: 7.2.1
Sitecore version: 9.1.0

We are using the below configuration to setup the index replication on slave 
servers.

Solr Master Server solrconfig.xml:
[cid:[email protected]]

Solr Slave Server solrconfig.xml :
[cid:[email protected]]

Core.properties :

Master server:
enable.master = true
enable.slave = false

Slave server:
enable. master = false
enable. slave = true

Could you please help us to resolve this index out of sync issue and to find 
out the root cause of it. Please let us know if you require more information.

Thanks & Regards,

Ruchi Gupta
Senior Engineer
[email protected]<mailto:[email protected]>
M: +91 9926099544

[cid:[email protected]]

Reply via email to