FuzzyAnalyzerParameter defines optional settings for fuzzy tokenization in a search index.
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 per token. Default value: 1. |
|
max_chars |
int32 |
No |
The maximum number of characters per token. Default value: 7. Important
A larger value increases index size and costs. Set this to a value no greater than the maximum length of your query keyword. Values of 5 or 7 meet the requirements of most use cases. |
|
case_sensitive |
bool |
No |
Specifies whether to enable case sensitivity. Default value: false, which converts all letters to lowercase. Set to true to preserve the original letter case. |