0

tokenised我通过添加如下更改属性:

<property name="sci:doc">
 <type>d:text</type>
 <index enabled="true"> 
   <atomic>true</atomic> 
   <stored>false</stored> 
   <tokenised>false</tokenised> 
 </index>
</property>

在完全重建索​​引并重新启动 alfresco 后,我使用 Lucene 在节点浏览器中搜索,如下所示:

PATH:"/app:company_home/app:guest_home/cm:mySpace/*" AND (@sci\:doc:'my doc')

但是没有返回任何结果。我也试过了(@sci\:doc:'my') OR (@sci\:doc:'doc')。这一切都失败了。

我正在使用 3.4.d。我发现任何设置<tokenised>为 false 的属性都有这个问题:搜索总是不返回任何内容!

我在节点浏览器中尝试了 alfresco-fts 搜索,它适用于tokenized上面的属性,但我使用的是 Alfresco 网络服务,默认QUERY_LANG_LUCENElucene. 我无法切换到露天 fts。

知道如何解决这个问题吗?

4

0 回答 0