【问题标题】:Not able to start Sitecore Indexing Manager无法启动 Sitecore Indexing Manager
【发布时间】:2023-03-24 03:13:01
【问题描述】:

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

无法解析类型名称:Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilderOptions,Sitecore.ContentSearch.Azure(方法:Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert))。

我已经验证了ConnectionStrings.configshowconfig 中的条目。

【问题讨论】:

  • 来自 Azure 搜索团队的布鲁斯在这里。我们无法帮助诊断,因为这看起来像是 Sitecore 方面的错误。你最好的选择可能是去support.sitecore.net寻求帮助。

标签: sitecore azure-cognitive-search sitecore9


【解决方案1】:

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

类文件-

Sitecore.Foundation.Indexing.Infrastructure.Fields.AllTemplatesComputedField、Sitecore.Foundation.Indexing

Config 中的设置 -

<field fieldName="all_templates" storageType="no" indexType="untokenized">Sitecore.Foundation.Indexing.Infrastructure.Fields.AllTemplatesComputedField, Sitecore.Foundation.Indexing</field>

解决问题:

我们必须删除类和配置设置并启用下面推荐的。

检查最新的安装文件夹 9.x.x。文件夹,您会发现“Example”文件夹“App_Config\Include\Examples”,他们提供了名为“Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.AllTemplates.config.example”的新配置文件

我们只需要激活上面的配置来解决问题。

之后,Azure 搜索将起作用,并且所有搜索字段都将显示在 Sitecore 上。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-08-05
    • 2018-07-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-01
    • 2017-02-14
    相关资源
    最近更新 更多