我们正在尝试用solr4将Alfresco系统从5.2迁移到AlFresco6.1和Al新鲜(我们尝试了1.3和1.4),但是我们面临着使用/Solr6的巨大性能问题:在类似的设置上运行的搜索需要3-5倍的时间。
一些背景:
我们能观察到的是:
6.1/solr 6显示在solr管理ui中使用~3的12 GB堆空间
我们已经尝试增加RAM,堆空间,CPU而不改变搜索性能。我不知道为什么索尔46/驴消耗这么少的堆空间。
有谁有类似的经验吗?
我们应该做些什么来获得更多可接受的响应时间?
我还试图在solr6中配置切分(并不确信这解决了真正的问题),但是Creating Solr shards in Alfresco 6.1 CE接缝也无法工作。
发布于 2020-10-12 06:21:21
它指出,搜索性能问题是由社区为解决本地化限制(通过在搜索查询中添加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。
https://stackoverflow.com/questions/59246076
复制相似问题