Created
September 20, 2023 18:38
-
-
Save keyan1603/df00362b683b5b88cc629a1ecf929ad8 to your computer and use it in GitHub Desktop.
To add a new Coveo index in Sitecore (tested on Sitecore 9.2)
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
<index id="Coveo_pub_index" type="Coveo.SearchProvider.ProviderIndex, Coveo.SearchProvider" patch:before = "*[3]"> | |
<param desc="p_Name">$(id)</param> | |
<configuration ref="coveo/defaultIndexConfiguration" /> | |
<locations hint="list:AddCrawler"> | |
<crawler name="ContentCrawler" type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch"> | |
<database>pub</database> | |
<root>/sitecore/content</root> | |
<stopOnError>true</stopOnError> | |
</crawler> | |
<crawler name="MediaLibraryCrawler" type="Sitecore.ContentSearch.SitecoreItemCrawler, Sitecore.ContentSearch"> | |
<database>pub</database> | |
<root>/sitecore/media library/Files</root> | |
<stopOnError>true</stopOnError> | |
</crawler> | |
</locations> | |
<strategies hint="list:AddStrategy"> | |
<strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/coveoOnPublishEndAsync"/> | |
</strategies> | |
<propertyStore ref="coveo/databasePropertyStore" param1="$(id)"/> | |
<enableItemLanguageFallback>false</enableItemLanguageFallback> | |
<enableFieldLanguageFallback>false</enableFieldLanguageFallback> | |
</index> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment