Sitecore 9.1 Azure 主索引重建卡住
Sitecore 9.1 Azure master index rebuild gets stuck
我正在 Azure 上开发 Sitecore PaaS 解决方案。我使用标准市场程序提供了一个 Sitecore xsmall 实例。安装后我立即进行了完整的索引重建。但是当 Sitecore 开始重建主数据库索引时,它会在添加随机数量的索引后卡住。
我尝试了多种不同的配置修改,但其中 none 行得通。
有什么想法吗?
[编辑]
好的,我找到了日志。
嵌套异常
Exception:
Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException
Message: {"error":{"code":"","message":"The request is invalid.
Details: definition : Invalid index: The index contains 1036 field(s).
An index can have at most 1000 fields.\r\n"}}
我看到有 Sitecore 8 的补丁,但我使用的是 v9。我还能安装吗?
在获得 Sitecore 的帮助后,这被认为是一个错误。参考编号 207507.
作为一种变通方法,我不得不手动将字段排除在索引之外:
- 在
App_Config/Include/Sitecore.ContentSearch.Azure/Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config
中将 <indexAllFields>
设置为 false
- 将要排除的字段添加到
App_Config/Include/Sitecore.ContentSearch.Azure/Sitecore.ContentSearch.Azure.Index.Master.ExcludeFields.config
我正在 Azure 上开发 Sitecore PaaS 解决方案。我使用标准市场程序提供了一个 Sitecore xsmall 实例。安装后我立即进行了完整的索引重建。但是当 Sitecore 开始重建主数据库索引时,它会在添加随机数量的索引后卡住。
我尝试了多种不同的配置修改,但其中 none 行得通。
有什么想法吗?
[编辑]
好的,我找到了日志。
嵌套异常
Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException Message: {"error":{"code":"","message":"The request is invalid. Details: definition : Invalid index: The index contains 1036 field(s). An index can have at most 1000 fields.\r\n"}}
我看到有 Sitecore 8 的补丁,但我使用的是 v9。我还能安装吗?
在获得 Sitecore 的帮助后,这被认为是一个错误。参考编号 207507.
作为一种变通方法,我不得不手动将字段排除在索引之外:
- 在
App_Config/Include/Sitecore.ContentSearch.Azure/Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config
中将<indexAllFields>
设置为false
- 将要排除的字段添加到
App_Config/Include/Sitecore.ContentSearch.Azure/Sitecore.ContentSearch.Azure.Index.Master.ExcludeFields.config