All Products
Search
Document Center

Tablestore:FuzzyAnalyzerParameter

Last Updated:Feb 06, 2025

FuzzyAnalyzerParameter specifies the optional configurations in the search index when fuzzy tokenization is used.

Data structure

message FuzzyAnalyzerParameter {
    optional int32 min_chars = 1;
    optional int32 max_chars = 2;
    optional bool case_sensitive = 3;
}

Parameter

Type

Required

Description

min_chars

int32

No

The minimum number of characters for a token. Default value: 1.

max_chars

int32

No

The maximum number of characters for a token. Default value: 7.

Important

A larger value indicates a greater index increase and higher costs. We recommend that you specify a value smaller than or equal to the maximum length of the query keyword. Setting this parameter to 5 or 7 can meet the requirements of most of your business scenarios.

case_sensitive

bool

No

Specifies whether to enable case sensitivity. Default value: false. A value of false specifies that all letters are converted into lowercase letters.

If you do not want Tablestore to convert letters into lowercase letters, set this parameter to true.