文本字段的Facet筛选在Alfresco中无法正常工作。

huangapple go评论50阅读模式
英文:

Facet filter for text field won't work properly in Alfresco

问题

我正在使用Alfresco Share 5.2,并且正在处理搜索分面(search facets)。我使用搜索管理器(Search Manager)创建了自定义分面。

该分面用于包含文本值的属性。但由于某种原因,该属性字段中的值被特殊字符(如-、/、%、空格、逗号等)分割开来。

例如,我有一个值,类似于444-555/789,但当应用分面过滤器时,该值会被分割并显示在彼此下方。

(如下所示的图片)

文本字段的Facet筛选在Alfresco中无法正常工作。

文本字段的Facet筛选在Alfresco中无法正常工作。

是否有人遇到过类似的问题呢?

谢谢。

英文:

I am using Alfresco Share 5.2 and currently working with search facets.
I created custom facet using Search Manager.

Facet is for property which is text value.
For some reason values from that property field are splitted by any special character like -, /, %, space, comma etc.

For example, I have value like this 444-555/789, and when facet filter is applied the value is shown splitted and one below the other.

(pictures attached below)

文本字段的Facet筛选在Alfresco中无法正常工作。

文本字段的Facet筛选在Alfresco中无法正常工作。

Has anyone had a similar problem?
Thanks.

答案1

得分: 0

我以前遇到过这个问题。我认为问题与Solr或Alfresco Search Services相关。我的Alfresco Search Services版本是2.0.3,它使用Solr 6.6.5。

对我来说,在ACS中的内容模型中设置了属性为被索引而不被标记化。

<index enabled="true">
    ...
    <tokenised>false</tokenised>
    <facetable>true</facetable>
</index>

然后我重新对Solr进行了索引。

英文:

I had this issue before. I think the issue is related to Solr or Alfresco Search Services.
My Alfresco Search Services is version 2.0.3, and it uses Solr 6.6.5.

For me, I set the property in content model in ACS(My version is 7.0) to be indexed and not tokenized.

&lt;index enabled=&quot;true&quot;&gt;
    ...
    &lt;tokenised&gt;false&lt;/tokenised&gt;
	&lt;facetable&gt;true&lt;/facetable&gt;
&lt;/index&gt;

And then I did re-indexing for Solr.

huangapple
  • 本文由 发表于 2023年3月12日 15:08:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/75711563.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定