Class IntervalsQuery
A query that allows fine-grained control over the order and proximity of matching terms. Matching rules are constructed from a small set of definitions, and the rules are then applied to terms from a particular field. The definitions produce sequences of minimal intervals that span terms in a body of text. These intervals can be further combined and filtered by parent sources.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsQuery : FieldNameQueryBase, IIntervalsQuery, IFieldNameQuery, IQuery, IIntervalsContainer
Properties
| Edit this page View SourceAllOf
A rule that returns matches that span a combination of other rules.
Declaration
public IIntervalsAllOf AllOf { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsAllOf |
AnyOf
A rule that emits intervals produced by any of its sub-rules.
Declaration
public IIntervalsAnyOf AnyOf { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsAnyOf |
Conditionless
Declaration
protected override bool Conditionless { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceFuzzy
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 IIntervalsFuzzy Fuzzy { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsFuzzy |
Match
Matches the analyzed text
Declaration
public IIntervalsMatch Match { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsMatch |
Prefix
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 IIntervalsPrefix Prefix { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsPrefix |
Wildcard
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 IIntervalsWildcard Wildcard { get; set; }
Property Value
Type | Description |
---|---|
IIntervalsWildcard |