Class SuggestFuzziness
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SuggestFuzziness : ISuggestFuzziness
Properties
| Edit this page View SourceFuzziness
The fuzziness factor. defaults to AUTO
Declaration
public IFuzziness Fuzziness { get; set; }
Property Value
| Type | Description |
|---|---|
| IFuzziness |
MinLength
Minimum length of the input before fuzzy suggestions are returned. Defaults to 3
Declaration
public 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
public 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
public 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
public bool? UnicodeAware { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |