Solr XML file (solr.xml)

The solr.xml file specifies configuration options for each Solr core, including configuration options for multiple cores. The file also contains mappings for request URLs, and indicates which cores to load when the server starts.

Core names are specified using the following naming convention:
  • MC_masterCatalogID_indextype_locale

<?xml version='1.0' encoding='UTF-8'?>
<solr persistent="true">
<cores adminPath="/admin/cores">
  <core name="Default" instanceDir="default"/>
  <core name="MC_10001_CatalogEntry_Unstructured_en_US" instanceDir="MC_10001_\en_US\CatalogEntry\unstructured\"/>
  <core name="MC_10001_CatalogEntry_en_US" instanceDir="MC_10001_\en_US\CatalogEntry\"/>
  <core name="MC_10001_CatalogGroup_en_US" instanceDir="MC_10001_\en_US\CatalogGroup\"/>
Where the preceding snippet contains the following cores:
The unstructured content Catalog Entry core for the 10001 master catalog ID in United States English (en_US).
The structured content Catalog Entry core the 10001 master catalog ID in United States English.
The Catalog Group core with a master catalog ID of 10001 in United States English.