-
-
Save dnstommy/c10cc91d83bb7299f5678e6d1de80a21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<contentSearch> | |
<configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch"> | |
<indexes hint="list:AddIndex"> | |
<index id="sitecore_url_fallback_web_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider"> | |
<param desc="name">$(id)</param> | |
<param desc="core">customer_$(id)</param> | |
<param desc="propertyStore" ref="contentSearch/indexConfigurations/databasePropertyStore" param1="$(id)" /> | |
<configuration ref="contentSearch/indexConfigurations/defaultSolrIndexConfiguration"> | |
<documentOptions ref="contentSearch/indexConfigurations/defaultSolrIndexConfiguration/documentOptions"> | |
<fields hint="raw:AddComputedIndexField"> | |
<field fieldName="displayurl" returnType="string">Sitecore.MultisitePageFallback.ComputedFields.DisplayUrlComputedField, Sitecore.MultisitePageFallback</field> | |
<field fieldName="sitename" returnType="string">Sitecore.Search.ComputedFields.SiteNameComputedField, Sitecore.Search</field> | |
</fields> | |
</documentOptions> | |
</configuration> | |
<strategies hint="list:AddStrategy"> | |
<strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync" /> | |
</strategies> | |
<locations hint="list:AddCrawler"> | |
<crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch"> | |
<Database>web</Database> | |
<Root>/sitecore/content/LocOne/Home/</Root> | |
</crawler> | |
<crawler type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch"> | |
<Database>web</Database> | |
<Root>/sitecore/content/LocTwo/Home/</Root> | |
</crawler> | |
</locations> | |
<enableItemLanguageFallback>false</enableItemLanguageFallback> | |
<enableFieldLanguageFallback>false</enableFieldLanguageFallback> | |
</index> | |
</indexes> | |
</configuration> | |
</contentSearch> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment