Interface IIntervalsMatch
Matches the analyzed text
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IIntervalsMatch : IIntervals
Properties
| Edit this page View SourceAnalyzer
Which analyzer should be used to analyze terms in the query. By default, the search analyzer of the top-level field will be used.
Declaration
[DataMember(Name = "analyzer")]
string Analyzer { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxGaps
Specify a maximum number of gaps between the terms in the text. Terms that appear further apart than this will not match. If unspecified, or set to -1, then there is no width restriction on the match. If set to 0 then the terms must appear next to each other.
Declaration
[DataMember(Name = "max_gaps")]
int? MaxGaps { get; set; }
Property Value
Type | Description |
---|---|
int? |
Ordered
Whether or not the terms must appear in their specified order. Defaults to false
Declaration
[DataMember(Name = "ordered")]
bool? Ordered { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Query
The text to match.
Declaration
[DataMember(Name = "query")]
string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
UseField
If specified, then match intervals from this field rather than the top-level field. Terms will be analyzed using the search analyzer from this field. This allows you to search across multiple fields as if they were all the same field
Declaration
[DataMember(Name = "use_field")]
Field UseField { get; set; }
Property Value
Type | Description |
---|---|
Field |