Interface ISuggestFuzziness
Fuzziness options for a suggester
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface ISuggestFuzziness
Properties
| Edit this page View SourceFuzziness
The fuzziness factor. defaults to AUTO
Declaration
[DataMember(Name = "fuzziness")]
IFuzziness Fuzziness { get; set; }
Property Value
Type | Description |
---|---|
IFuzziness |
MinLength
Minimum length of the input before fuzzy suggestions are returned. Defaults to 3
Declaration
[DataMember(Name = "min_length")]
int? MinLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
PrefixLength
Minimum length of the input, which is not checked for fuzzy alternatives. Defaults to 1
Declaration
[DataMember(Name = "prefix_length")]
int? PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
Transpositions
if set to true, transpositions are counted as one change instead of two. Defaults to true
Declaration
[DataMember(Name = "transpositions")]
bool? Transpositions { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UnicodeAware
If true, all measurements (like fuzzy edit distance, transpositions, and lengths) are measured in Unicode code points instead of in bytes. This is slightly slower than raw bytes, so it is set to false by default.
Declaration
[DataMember(Name = "unicode_aware")]
bool? UnicodeAware { get; set; }
Property Value
Type | Description |
---|---|
bool? |