Interface IIntervalsFuzzy
The fuzzy rule matches terms that are similar to the provided term, within an edit distance defined by Fuzziness. If the fuzzy expansion matches more than 128 terms, OpenSearch returns an error.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IIntervalsFuzzy : IIntervalsNoFilter
Properties
| Edit this page View SourceAnalyzer
Analyzer used to normalize the term. Defaults to the top-level field's analyzer.
Declaration
[DataMember(Name = "analyzer")]
string Analyzer { get; set; }
Property Value
Type | Description |
---|---|
string |
Fuzziness
Maximum edit distance allowed for matching. See Fuzziness for valid values and more information. Defaults to Auto.
Declaration
[DataMember(Name = "fuzziness")]
Fuzziness Fuzziness { get; set; }
Property Value
Type | Description |
---|---|
Fuzziness |
PrefixLength
Number of beginning characters left unchanged when creating expansions. Defaults to 0
.
Declaration
[DataMember(Name = "prefix_length")]
int? PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
Term
The term to match.
Declaration
[DataMember(Name = "term")]
string Term { get; set; }
Property Value
Type | Description |
---|---|
string |
Transpositions
Indicates whether edits include transpositions of two adjacent characters (ab → ba). Defaults to true
.
Declaration
[DataMember(Name = "transpositions")]
bool? Transpositions { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UseField
If specified, then match intervals from this field rather than the top-level field. The term is normalized using the search analyzer from this field, unless analyzer is specified separately.
Declaration
[DataMember(Name = "use_field")]
Field UseField { get; set; }
Property Value
Type | Description |
---|---|
Field |