Sitecore 8.1 index rebuild strategy for SOLR search provider

怎甘沉沦 提交于 2019-12-01 15:49:51

Usually when you use replication in Solr (master + slave Solr servers), it should be configured like that:

Content Authoring (CM server):

  • connects to Solr master server.
  • It runs syncMaster strategy for master database, and onPublishEndAsync for web database.

Content Delivery (CD servers):

  • connects to Solr slave server (or to some load balancer if there are multiple Solr slave servers).
  • has all the indexing strategies set to manual - they should NEVER update Slave solr servers.

With this solution, CD servers always can get results from Solr, even if there is full index rebuild in progress (this happens on Master Solr server and data is copied to Slaves after it's finished).

You should think about having 2 Solr Slave servers and load balancer for them. If you do this:

  • If Solr master is down for some reason, slaves still answers to requests from CD boxes. You can safely restart master, reindex, and the only thing you lost is that you didn't have 100% up to date search results on CD for some time.
  • If one of the Solr slave servers is down, second slave server still answers to the request and load balancer should redirect all the traffic to the slave server which works.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!