Overview
You can specify analyzers for fields in an analyzer clause. The system converts the values of the specified fields to terms based on the analyzers that you specify. You can specify analyzers for specific fields. You can also specify fields whose values you do not want the system to convert to terms.
Syntax
{
"analyzer" : {
}
}
An analyzer clause is optional. Each index name corresponds to an analyzer. All analyzers other than the keyword
analyzer are specified by the no_tokenize_indexes parameter. The keyword analyzer is specified by the specific_index_analyzer parameter.
Parameter | Description |
no_tokenize_indexes | Specifies the fields whose values you do not want the system to convert to terms. This parameter does not affect other operations such as normalization and stop word filtering that are performed on the values of the specified fields. |
specific_index_analyzer | Specifies an analyzer for a field. The analyzer that is specified by this parameter is assigned a higher priority than the analyzer that is specified in the schema. The analyzers that you specify in this parameter must be specified in the analyzer.json file. |
Example:
{
"analyzer" : {
"title" : "chn_standard",
"description" : "single",
"category" : "fuzzy",
"uid" : "keyword"
}