Skip to content
The Bits That Byte
  • About
December 3, 2018 / Sitecore

Finding the Solr Core Name (Index) Locations in the Sitecore Configuration Files

Sitecore will point to Solr Cores by their “name”, commonly called an Index. These “pointers” are stored in various Sitecore configuration files, whereby they set the reference to the Solr Core as an “index id”. This typically looks like the following:

<index id="sitecore_fxm_web_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider">

Along with the connectionString (Sitecore 9+ or 8.2 Update 7) or the baseAddress within the Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config file, is how Sitecore can connect to, and properly communicate with Solr.

It is the combination of the endpoint declared in the connectionString (or baseAddress) and Index ID within the configuration files that makes Solr integration possible, so if you run into communication issues, it will be worthwhile to check these areas.

There may be instances in which you want to change the index name within the Sitecore configuration files. This could be due to several reasons such as hosting two Solr Cores of the same index type, but different name, on the same Solr Server (ex. sitecoreblue_web_index and sitecoregreen_web_index in a Blue/Green deployment scenario). Or, you may have distinct Solr Core names and need to update your Sitecore configuration to ensure connectivity.

Ideally, you should use patch configs instead of changing the values in the config files, but knowing these locations is critical.

The table below provides the Solr Core Name (Index) and its configuration file location within Sitecore 8.2 as an example. Note, that some config files may have more than 1 index listed. For Sitecore 9, you would follow the same methodology for identifying which config files have the Solr index, as these typically include “Solr” in their name.

Solr Index Name Sitecore Configuration File Location
sitecore_analytics_index …/Include/Sitecore.ContentSearch.Solr.Index.Analytics.config
sitecore_core_index …/Include/Sitecore.ContentSearch.Solr.Index.Core.config
sitecore_fxm_master_index …/Include/FXM/Sitecore.FXM.Solr.DomainsSearch.Index.Master.config
sitecore_fxm_web_index …/Include/FXM/Sitecore.FXM.Solr.DomainsSearch.Index.Web.config
sitecore_list_index …/Include/ListManagement/Sitecore.ListManagement.Solr.Index.List.config
sitecore_marketing_asset_index_master …/Include/Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Solr.Index.Master.config
sitecore_marketing_asset_index_web …/Include/Sitecore.Marketing.Definitions.MarketingAssets.Repositories.Solr.Index.Web.config
sitecore_marketingdefinitions_master …/Include/Sitecore.Marketing.Solr.Index.Master.config
sitecore_marketingdefinitions_web …/Include/Sitecore.Marketing.Solr.Index.Web.config
sitecore_master_index …/Include/Sitecore.ContentSearch.Solr.Index.Master.config
sitecore_suggested_test_index …/Include/ContentTesting/Sitecore.ContentTesting.Solr.IndexConfiguration.config
sitecore_testing_index …/Include/ContentTesting/Sitecore.ContentTesting.Solr.IndexConfiguration.config
sitecore_web_index …/Include/Sitecore.ContentSearch.Solr.Index.Web.config
social_messages_master …/Include/Social/Sitecore.Social.Solr.Index.Master.config
social_messages_web …/Include/Social/Sitecore.Social.Solr.Index.Web.config

Post navigation

Previous Post:

What to Expect with the Sitecore Installation Framework in Sitecore Version 9.1

Next Post:

Rebuilding Link Database Error: Unrecognized Guid format

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sitecore Technology MVP

Categories

  • AngularJS
  • Azure
  • CSS3
  • HTML5
  • Hyper-V
  • JavaScript
  • jQuery
  • OneDrive
  • PowerShell
  • Responsive Web Design
  • Search
  • SEO
  • SharePoint
  • Sitecore
  • SQL 2008 R2
  • SQL 2012
  • Tech Review
  • Tech Toy
  • Technical Resources
  • Uncategorized
  • Visual Studio
  • Web Content Management
  • Windows 8
  • Windows 8 App
  • Windows App
  • Windows Server 2008 R2
  • Workflow

Recent Posts

  • Sitecore Release Governance for Better Production Stability
  • 11 Tips for a More Stable Sitecore PaaS Environment
  • Sitecore Commerce 10.0.0 Bootstrap 404 Error and Other Changes
  • How to Run Cost Effective Sitecore Environments in Azure
  • Autofail: A Big Azure Autoscale Limitation and What To Do

Blogroll

  • Colins Sitecore Tech Blog
  • Sitecore Architecture – Grant's Sitecore Rants
April 2021
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Mar    
© 2021 thebitsthatbyte.com - Powered by SimplyNews