首页 > 解决方案 > Alfresco 搜索服务的搜索性能问题

问题描述

我们正在尝试将使用 solr4 的 Alfresco CE 系统从 5.2 迁移到使用 Alfresco Search Services 的 Alfresco 6.1(我们尝试了 1.3 和 1.4),但是使用 Alfresco Search Services / Solr6 我们面临着巨大的性能问题:在类似设置上运行的搜索需要 3- 5 倍长。

一些背景:

我们可以观察到:

我们已经尝试在不改变搜索性能的情况下增加 RAM、堆空间、CPU。我想知道为什么 sol46/ASS 占用这么少的堆空间。

有没有人有类似的经历?

我们应该怎么做才能获得更可接受的响应时间?

我还尝试在 solr6 中配置分片(不相信这可以解决真正的问题),但在 Alfresco 6.1 CE接缝中创建 Solr 分片也不起作用。

标签: alfrescoalfresco-search-services

解决方案


它指出搜索性能问题是由社区修复本地化限制(通过添加locale = '*'搜索查询)引起的。

相反,应该始终使用默认未设置的跨区域设置属性创建索引。例如在shared.properties

# Data types that support cross locale/word splitting/token patterns if tokenised
alfresco.cross.locale.datatype.0={http://www.alfresco.org/model/dictionary/1.0}text
alfresco.cross.locale.datatype.1={http://www.alfresco.org/model/dictionary/1.0}content
alfresco.cross.locale.datatype.2={http://www.alfresco.org/model/dictionary/1.0}mltext

请查看https://github.com/Alfresco/SearchServices/issues/234了解更多详情。


推荐阅读