Class SpanNearQueryDescriptor<T>
Inheritance
SpanNearQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class SpanNearQueryDescriptor<T> : QueryDescriptorBase<SpanNearQueryDescriptor<T>, ISpanNearQuery>, IDescriptor, ISpanNearQuery, ISpanSubQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Clauses(IEnumerable<Func<SpanQueryDescriptor<T>, SpanQueryDescriptor<T>>>)
Declaration
public SpanNearQueryDescriptor<T> Clauses(IEnumerable<Func<SpanQueryDescriptor<T>, SpanQueryDescriptor<T>>> selectors)
Parameters
Returns
|
Edit this page
View Source
Clauses(params Func<SpanQueryDescriptor<T>, SpanQueryDescriptor<T>>[])
Declaration
public SpanNearQueryDescriptor<T> Clauses(params Func<SpanQueryDescriptor<T>, SpanQueryDescriptor<T>>[] selectors)
Parameters
Returns
|
Edit this page
View Source
InOrder(bool?)
Declaration
public SpanNearQueryDescriptor<T> InOrder(bool? inOrder = true)
Parameters
Type |
Name |
Description |
bool? |
inOrder |
|
Returns
|
Edit this page
View Source
Slop(int?)
Declaration
public SpanNearQueryDescriptor<T> Slop(int? slop)
Parameters
Type |
Name |
Description |
int? |
slop |
|
Returns
Implements
Extension Methods