Hi, I cannot see anything in your problem description suggesting that there is an issue on the Solr level here. Don't even know what a 'custom index' or 'SwitchOnRebuildSolrSearchIndex' is, sounds like SiteCore speak? I think you will have more success seeking support in theSitecore community.
Jan > 6. mar. 2023 kl. 08:20 skrev Ruchi Gupta <[email protected]>: > > Hi Team, > > Is there any update on the below Solr custom index issue in master slave > configuration? > > Regards, > Ruchi Gupta > > From: Ruchi Gupta > Sent: Wednesday, March 1, 2023 7:06 PM > To: [email protected] > Cc: Marek Seda <[email protected]>; Syed Hussain <[email protected]>; DG Hempel > Sitecore Support <[email protected]> > Subject: Solr custom index issue in master slave configuration > > 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: > > > Solr Slave Server solrconfig.xml : > > > 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
