Is it possible to have different instance of Solr - one pointing to the staging website while other pointing to production website while the CMS sytem is common to both Solr instance. I am not checking about high availability or scaling or solr but want to have two separate solr instance so that staging envrironment can be completely separate from production CD environment in DMZ zone with no linking to internal environments like staging.

  • I'm confused about your question. You say you want different SOLR instance "while the CMS sytem is common to both Solr instance". Not sure what you mean there. Each instance will point to SOLR using the connection string provided in its config file. – josedbaez Jan 10 '18 at 11:29
  • that is the reason i want to know if it is possible to have two connectionstring in the single CMS instance so that i can use separate solr server for staging and production cd website. Or if there is any other best practise. – rdhaundiyal Jan 10 '18 at 11:37
  • But you say "single CMS instance" and then mention 2 environments (staging and prod), which I'd consider as 2 CMS instances. – josedbaez Jan 10 '18 at 11:46
  • Is the Sitecore instance a single instance or does the Production CD has its own set of configuration and staging has its own? – Hishaam Namooya Jan 10 '18 at 11:50
  • @josedbaez - the two instance I am talking about are the CD server which are actually hosting the public facing website.Single CMS publish content to the web database of both CD i.e. staging and production website. I am separating out the CMS and CD so the CMS is a single instance while CD are two instance one for staging website while other for production website. The challenge is from the single CMS where I cannot point to two solr services, – rdhaundiyal Jan 10 '18 at 12:39

As far as I know one Sitecore CM instance can only index to one SOLR instance. If you want it to index to two different SOLR instances that you want to use, then you need to find a way to replicate between those two SOLR instance. You point your CM to SOLR instance A, then you replicate that to SOLR instance B.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.