Skip to content

Instantly share code, notes, and snippets.

@luuksommers
Created October 25, 2018 11:59
Show Gist options
  • Save luuksommers/3a39121f9d4043f111cefbb90c290a24 to your computer and use it in GitHub Desktop.
Save luuksommers/3a39121f9d4043f111cefbb90c290a24 to your computer and use it in GitHub Desktop.
Patch default core name of sxa in solr
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"
xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:search="http://www.sitecore.net/xmlconfig/search/">
<sitecore search:require="Solr">
<contentSearch>
<configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch">
<indexes hint="list:AddIndex">
<index id="sitecore_sxa_master_index">
<param desc="core">{othername}_sxa_master_index</param>
</index>
<index id="sitecore_sxa_web_index">
<param desc="core">{othername}_sxa_web_index</param>
</index>
</indexes>
</configuration>
</contentSearch>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment