Communications Express 所使用的搜索过滤器需要更改才能应用匹配的规则语法。通过启用在 db_config.properties 文件(对于个人存储,该文件位于 deployed-path/WEB-INF/ldappstore 中;对于企业目录,该文件位于 deployed-path/WEB-INF/corp-dir 中)中指定的排序规则参数可以实现此过程。
参数如下:
# Collation Rule # Uncomment below to apply collation rule # collation_rule=en-US # Search Fields for which collation rule should be applied. # The fields provided here should be disambiguator formatted fields # e.g. entry/displayname, person/givenname etc. # Uncomment below to supply the comma-separated fields # search_fields=entry/displayname
取消 collation_rule 和 search_fields 参数的注释即可启用排序规则。要在搜索中指定一组单独的字段或字段集,请将 search_fields 的值更改为所需值。collation_rule 可以在后缀没有指明搜索类型的情况下包含对应于该语言的语言标记与 OID(例如 1.3.6.1.4.1.42.2.27.9.4.34.1)。必须在做出更改后启动 Web 容器实例。
必须为 LDAP 服务器上的以下属性编制索引才能对 Communications Express 执行国际化搜索:
cn(使用 ou=people/ou=groups 后缀)
displayname(使用 o=piServerDb 后缀)