Create SOLR SXA cores
After installing SOLR and connecting it to your Sitecore instance, you may notice that a number of default Sitecore platform cores have been added. In SOLR, a core is an instance of a Lucene index that contains the configurations for that index. Because each index should have its own core, you must create a core for each custom index you want to create for SXA.
To create your SOLR SXA core:
-
Duplicate the core directory created for
sitecore_master_index(orcompany_name_master_index) twice and rename to:- sitecore_sxa_master_index.
- sitecore_sxa_web_index.
-
In those two folders, remove everything except the
confdirectory. -
On the Solr web interface, click Core Admin, and click Add Core to add s
itecore_sxa_master_index. Do the same forsitecore_sxa_web_index.NoteMake sure that the names of the Solr cores you created match the settings for
sitecore_sxa_master_indexandsitecore_sxa_web_indexinSitecore.XA.Foundation.Search.Solr.config. -
In Sitecore, log in to the Launchpad, and open the Control Panel.
-
In the Indexing section, click Populate Solr Managed Schema.
-
In the Schema Populate dialog, select
sitecore_sxa_master_indexandsitecore_sxa_web_index, and click Populate. -
In the Indexing section, click Indexing Manager.
-
In the Indexing Manager dialog box, select
sitecore_sxa_master_indexandsitecore_sxa_web_index, and click Rebuild.