Sitecore 9 xConnect Search使用Azure Search Service 的配置
对于Sitecore 9 CM/CD使用Azure Search Service参见: https://www.cnblogs.com/JoeHou/p/10217863.html
xConnect的配置如下:
-
下列文件夹中的 SOLR configuration 加
*.disabled后缀;去掉
AzureSearch configuration 的后缀名*.disabled
xConnectRoot/App_Data/Config/Sitecore/CollectionSearch
xConnectRoot/App_Data/Config/Sitecore/SearchIndexer
xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Data/Config/Sitecore/CollectionSearch
xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Data/Config/Sitecore/SearchIndexer
-
下列文件夹中的ConnectionStrings.config需要新建或更新
collection.search
值:< add name="collection.search" connectionString="serviceUrl=https://[servicename].search.windows.net;indexName=xdb;apiKey=[key]" />
xConnectRoot/App_Config
xConnectRoot/App_Data/jobs/continuous/IndexWorker/App_Config
- 重启xConnect windows服务
- 在Azure Search Service中会看到一个新建的index
reference: https://sitecore.stackexchange.com/questions/13758/configure-azure-search-for-sitecore-xconnect