Configure Azure Cognitive Search for xConnect
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
注意
Azure Cognitive Searchは将来的に廃止され、Sitecoreは今後このサービスのサポートを終了します。
Azure Cognitive Searchは、Sitecore Azure Toolkitを使ってxConnectをインストールする際のデフォルトの検索プロバイダーです。
xConnectのAzure Cognitive Searchを設定するには:
-
xconnect\App_data\config\sitecore\CollectionSearchフォルダで、sc.Xdb.Collection.IndexReader.AzureSearch.xml.disabledファイルの.disabled拡張子を削除してください。これによりファイル内の設定が可能になります。
-
xconnect\App_data\config\sitecore\CollectionSearchフォルダ内に、これらのファイルに.disabled拡張子を追加してください:
- sc.Xdb.Collection.IndexReader.SOLR.xml
- sc.Xdb.Collection.WebClient.SOLR.xml
これによりファイル内の設定が無効になります。
-
xconnect\App_data\jobs\continuos\IndexWorker\App_data\config\sitecoreフォルダで、これらのファイルの.disabled拡張子を削除してください:
- \SearchIndexer\sc.Xdb.Collection.IndexWriter.AzureSearch.xml.disabled
- \CollectionSearch\sc.Xdb.Collection.IndexReader.AzureSearch.xml.disabled
これによりファイル内での設定が可能になります。
-
!注Sitecore XP 9.0.2以降を使用し、複数のレプリカを使用している場合:
\SearchIndexer\sc.Xdb.Collection.IndexWriter.AzureSearch.xmlファイルでDataReplicationTimeoutMilliseconds設定を有効にしてください。
-
xconnect\App_data\jobs\continuos\IndexWorker\App_data\config\sitecoreフォルダに、これらのファイルに.disabled拡張子を追加してください:
- \CollectionSearch\sc.Xdb.Collection.IndexReader.SOLR.xml
- \CollectionSearch\sc.Xdb.Collection.WebClient.SOLR.xml
- \SearchIndexer\sc.Xdb.Collection.IndexWriter.SOLR.xml
これによりファイル内の設定が無効になります。
-
接続文字列ファイルxconnect\App_Config\ConnectionStrings.configおよびxconnect\App_data\jobs\continuous\IndexWorker\App_config\ConnectionStrings.configで、Azure認知Search接続文字列のコメントを取り消し、更新します。この文字列の名前はcollection.searchです:
!注Azure xConnectの認知Searchはジオレプリケートシナリオをサポートしていないため、collection.search接続文字列で複数のインスタンスを指定することはできません。」