Class IntervalsDescriptor
Inheritance
IntervalsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsDescriptor : IntervalsContainer, IIntervalsContainer, IDescriptor
Methods
|
Edit this page
View Source
AllOf(Func<IntervalsAllOfDescriptor, IIntervalsAllOf>)
A rule that returns matches that span a combination of other rules.
Declaration
public IntervalsDescriptor AllOf(Func<IntervalsAllOfDescriptor, IIntervalsAllOf> selector)
Parameters
Returns
|
Edit this page
View Source
AnyOf(Func<IntervalsAnyOfDescriptor, IIntervalsAnyOf>)
A rule that emits intervals produced by any of its sub-rules.
Declaration
public IntervalsDescriptor AnyOf(Func<IntervalsAnyOfDescriptor, IIntervalsAnyOf> selector)
Parameters
Returns
|
Edit this page
View Source
Fuzzy(Func<IntervalsFuzzyDescriptor, 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.
Declaration
public IntervalsDescriptor Fuzzy(Func<IntervalsFuzzyDescriptor, IIntervalsFuzzy> selector)
Parameters
Returns
|
Edit this page
View Source
Match(Func<IntervalsMatchDescriptor, IIntervalsMatch>)
Matches the analyzed text
Declaration
public IntervalsDescriptor Match(Func<IntervalsMatchDescriptor, IIntervalsMatch> selector)
Parameters
Returns
|
Edit this page
View Source
Prefix(Func<IntervalsPrefixDescriptor, IIntervalsPrefix>)
Matches terms that start with a specified set of characters. This prefix can expand to match at most 128 terms.
If the prefix matches more than 128 terms, OpenSearch returns an error.
You can use the index-prefixes option in the field mapping to avoid this limit.
Declaration
public IntervalsDescriptor Prefix(Func<IntervalsPrefixDescriptor, IIntervalsPrefix> selector)
Parameters
Returns
|
Edit this page
View Source
Wildcard(Func<IntervalsWildcardDescriptor, IIntervalsWildcard>)
Matches terms using a wildcard pattern. This pattern can expand to match at most 128 terms.
If the pattern matches more than 128 terms, OpenSearch returns an error.
Declaration
public IntervalsDescriptor Wildcard(Func<IntervalsWildcardDescriptor, IIntervalsWildcard> selector)
Parameters
Returns
Implements
Extension Methods