Alfresco节点浏览器中的Lucene查询搜索

Lucene query search in Alfresco node browser

我想搜索所有语言环境都不是 "en_US" 的节点。我在节点浏览器中尝试了以下查询,但结果是无论区域设置如何,我都得到了所有节点。

PATH:"/app:company_home/st:sites/cm:sample/cm:documentLibrary//*"  AND -@sys\:locale:"en_US"

我无法弄清楚查询中有什么问题。有人可以帮忙吗... Alfresco 版本:Alfresco Enterprise v4.0.2(.9 38).. 提前致谢!!

"Retrieve documents by sys:locale"

[...] the locale is stored differently in the SOLR (built on Apache Lucene) index. It is actually converted in small caps and a trailing underscore is added.

所以,试试这个:

PATH:"/app:company_home/st:sites/cm:sample/cm:documentLibrary//*"
AND -@sys\:locale:"en_us_"