Azure Cognitive Search for xConnectの構成
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Azure Cognitive Searchは将来廃止され、Sitecoreは将来のリリースでこのサービスのサポートを提供しなくなります。
Azure Cognitive Searchは、Sitecore Azure Toolkitを使用してxConnectをインストールするときのデフォルトの検索プロバイダーです。
Azure Cognitive Search for xConnectを構成するには:
-
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 Cognitive Search接続文字列のコメントを解除して更新します。この文字列の名前はcollection.searchです。
手記Azure Cognitive Search for xConnectはgeoレプリケートされたシナリオをサポートしていないため、collection.search接続文字列に複数のインスタンスを指定することはできません。