Class IntervalsAllOfDescriptor
A rule that returns matches that span a combination of other rules.
Inheritance
IntervalsAllOfDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsAllOfDescriptor : IntervalsDescriptorBase<IntervalsAllOfDescriptor, IIntervalsAllOf>, IDescriptor, IIntervalsAllOf, IIntervals
Methods
|
Edit this page
View Source
Intervals(Func<IntervalsListDescriptor, IPromise<List<IntervalsContainer>>>)
An array of rules to combine. All rules must produce a match in a document for the overall source to match.
Declaration
public IntervalsAllOfDescriptor Intervals(Func<IntervalsListDescriptor, IPromise<List<IntervalsContainer>>> selector)
Parameters
Returns
|
Edit this page
View Source
MaxGaps(int?)
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
public IntervalsAllOfDescriptor MaxGaps(int? maxGaps)
Parameters
Type |
Name |
Description |
int? |
maxGaps |
|
Returns
|
Edit this page
View Source
Ordered(bool?)
Whether or not the terms must appear in their specified order. Defaults to false
Declaration
public IntervalsAllOfDescriptor Ordered(bool? ordered = true)
Parameters
Type |
Name |
Description |
bool? |
ordered |
|
Returns
Implements
Extension Methods