Configure SCpbCS to work with Solr

To use Solr instead of Lucene with SCpbCS you will need to perform two tasks: enable the Solr config files, and then create new index cores in Solr.

To enable the Solr config files go to the Sitecore instance folder on disk and do the following:

  • Navigate to \Website\App_Config\Include\CommerceServer\

    • Rename CommerceServer.Index.Lucene.config to CommerceServer.Index.Lucene.config.disabled

    • Rename CommerceServer.Index.Solr.config.example to CommerceServer.Index.Solr.config

  • If you are using the Reference Storefront, navigate to \Website\App_Config\Include\Reference.Storefront\

    • Rename Reference.Storefront.Index.Lucene.config to Reference.Storefront.Index.Lucene.config.disabled

    • Rename Reference.Storefront.Index.Solr.config.example to Reference.Storefront.Index.Solr.config

  • To create the index cores in Solr go to the folder on disk under the Solr installation where the Sitecore index folders are created.

    • Use the same steps you performed to create the Sitecore index cores to create index cores for the following

      • commerce_products_master_index

      • commerce_products_web_index (optional)