All multilingual fields are indexed and tokenized according to the locale. The tokens are prefixed in the index with locale information.
所有多语言字段都根据区域设置进行索引和分词。分词在索引中以区域设置信息作为前缀。

When searching, the locale(s) to use can be specified on the SearchParameters. If they are not specified, the locale defaults to the user’s login locale (the locale selected when the user logged in).
搜索时,可以在SearchParameters上指定要使用的区域设置。如果未指定,则区域设置默认为用户的登录区域设置(用户登录时选择的区域设置)。

The search is restricted to the specific strings in just those locales. By default, the locale ‘fr’ will only match ‘fr’ and not ‘fr_CA’. How locales expand can be configured in the search parameters. ‘fr’ can match ‘fr’ only, or ‘fr’ and all countries and all variants. ‘fr_CA_SomeVariant’ can match only ‘fr_CA_SomeVarian’ or ‘fr_CA_SomeVarieat’, ‘fr_CA’, and ‘fr’.
搜索仅限于那些区域设置中的特定字符串。默认情况下,区域设置“fr”只匹配“fr”,而不匹配“fr_CA”。如何在搜索参数中配置区域设置展开fr’只能与’fr’匹配,或’fr’与所有国家和所有变体匹配。’“fr_CA_SomeVariant”只能与“fr_CA_somevariana”或“fr_CA_somevarianeat”、“fr_CA”和“fr”匹配。

In the default configuration, MLText is only identified by language - country and variants are ignored. So, searching in French will find all locales starting with fr.
在默认配置中,MLText仅由语言国家/地区标识,并且忽略变量。所以,用法语搜索会找到所有以fr开头的地区。

If cm:mltitle were a ML string, it can be queried in Lucene using:
如果cm:mltitle是一个ML字符串,则可以使用以下命令在Lucene中查询它:

@cm\:mltitle:'banana'

The locales specified on the search parameters or the user’s default locale govern what locales are matched.
搜索参数上指定的区域设置或用户的默认区域设置控制匹配的区域设置。

The tokenization for each locale is picked up as defined by the data dictionary localization. By default, the locales are:
default(en), cn, cs, da, de, el, en, es, fr, it, ja, ko, nl, no, pt_BR, pt, ru, and sv. Some locales have alternatives.
根据数据字典本地化的定义,为每个区域设置选取分词器。默认情况下,区域设置为:
默认值(en)、cn、cs、da、de、el、en、es、fr、it、ja、ko、nl、no、pt_BR、pt、ru和sv。有些地区有其他选择。

文档更新时间: 2020-02-10 17:50   作者:凌云文档