Class IntervalsFuzzy
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.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsFuzzy : IntervalsNoFilterBase, IIntervalsFuzzy, IIntervalsNoFilter
Properties
| Edit this page View SourceAnalyzer
Analyzer used to normalize the term. Defaults to the top-level field's analyzer.
Declaration
public 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
public Fuzziness Fuzziness { get; set; }
Property Value
Type | Description |
---|---|
Fuzziness |
PrefixLength
Number of beginning characters left unchanged when creating expansions. Defaults to 0
.
Declaration
public int? PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
Term
The term to match.
Declaration
public 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
public 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
public Field UseField { get; set; }
Property Value
Type | Description |
---|---|
Field |