无法启动Sitecore索引管理器

无法启动Sitecore索引管理器,sitecore,azure-cognitive-search,sitecore9,Sitecore,Azure Cognitive Search,Sitecore9,我想将Azure Search而不是Sitecore 9.2中的默认Solr搜索引擎配置为PaaS。访问Sitecore索引管理器时出现以下异常: 无法解析类型名称:Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilderOptions,Sitecore.ContentSearch.Azure方法:Sitecore.Configuration.DefaultFactory.CreateFromTypeNameXmlNode configNod

我想将Azure Search而不是Sitecore 9.2中的默认Solr搜索引擎配置为PaaS。访问Sitecore索引管理器时出现以下异常:

无法解析类型名称:Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilderOptions,Sitecore.ContentSearch.Azure方法:Sitecore.Configuration.DefaultFactory.CreateFromTypeNameXmlNode configNode,字符串[]参数,布尔断言

我已经验证了ConnectionStrings.config中的条目以及showconfig。

前面我们必须为Habitat Sitecore内容搜索添加这些设置-

类文件-

席席。 配置中的设置-

<field fieldName="all_templates" storageType="no" indexType="untokenized">Sitecore.Foundation.Indexing.Infrastructure.Fields.AllTemplatesComputedField, Sitecore.Foundation.Indexing</field>
要解决这个问题:

我们必须删除类和配置设置,并启用下面建议的设置

检查最新安装文件夹9.x.x。文件夹您将找到“示例”文件夹“App\u Config\Include\Examples”他们提供了名为“Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.AllTemplates.Config.Example”的新配置文件

我们只需激活上述配置即可解决问题


之后,Azure搜索将正常工作,所有搜索字段将出现在Sitecore上

这里是Azure搜索团队的Bruce。我们无法帮助诊断,因为这看起来像是Sitecore方面的错误。你最好的办法可能是去寻求帮助。