Created
June 15, 2018 09:16
-
-
Save error505/057440f2b649f6eaac6cf674bd295b30 to your computer and use it in GitHub Desktop.
Sitecore 9 Azure Search Index Suggester
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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore> | |
<contentSearch> | |
<schemaSynchronizer type="YourProject.Foundation.Indexing.Services.AzureSearch.CloudSearchServiceSchemaSynchronizer, YourProject.Foundation.Indexing" patch:instead="schemaSynchronizer[@type='Sitecore.ContentSearch.Azure.Schema.SearchServiceSchemaSynchronizer, Sitecore.ContentSearch.Azure']"> | |
<param desc="managmentOperations" ref="contentSearch/searchServiceClient" /> | |
<param desc="retryPolicy" type="Sitecore.ContentSearch.Azure.Utils.Retryer.RetryPolicy, Sitecore.ContentSearch.Azure"> | |
<param desc="retryStrategy" type="Sitecore.ContentSearch.Azure.Utils.Retryer.ExponentialRetryStrategy, Sitecore.ContentSearch.Azure"> | |
<exponent>1.2</exponent> | |
<maxRetryCount>10</maxRetryCount> | |
<minDelayInterval>00:00:00.1</minDelayInterval> | |
<maxDelayInterval>00:00:02.0</maxDelayInterval> | |
</param> | |
<param desc="detectionStrategy" type="Sitecore.ContentSearch.Azure.Utils.Retryer.SchemaUpdateErrorTransientDetectionStrategy, Sitecore.ContentSearch.Azure" /> | |
</param> | |
<param desc="analyzerRepository" ref="contentSearch/analyzerRepository" /> | |
</schemaSynchronizer> | |
</contentSearch> | |
<suggesters name="suggestions" searchMode="analyzingInfixMatching" > | |
<sourceFields> | |
<suggesterField suggesterFieldName="name___s" /> | |
<suggesterField suggesterFieldName="content_1"/> | |
<suggesterField suggesterFieldName="displayname___s"/> | |
</sourceFields> | |
</suggesters> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment