Class NumericRangeQueryDescriptor<T>
Inheritance
NumericRangeQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class NumericRangeQueryDescriptor<T> : FieldNameQueryDescriptorBase<NumericRangeQueryDescriptor<T>, INumericRangeQuery, T>, IDescriptor, INumericRangeQuery, IRangeQuery, IFieldNameQuery, 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
GreaterThan(double?)
Declaration
public NumericRangeQueryDescriptor<T> GreaterThan(double? from)
Parameters
Type |
Name |
Description |
double? |
from |
|
Returns
|
Edit this page
View Source
GreaterThanOrEquals(double?)
Declaration
public NumericRangeQueryDescriptor<T> GreaterThanOrEquals(double? from)
Parameters
Type |
Name |
Description |
double? |
from |
|
Returns
|
Edit this page
View Source
LessThan(double?)
Declaration
public NumericRangeQueryDescriptor<T> LessThan(double? to)
Parameters
Type |
Name |
Description |
double? |
to |
|
Returns
|
Edit this page
View Source
LessThanOrEquals(double?)
Declaration
public NumericRangeQueryDescriptor<T> LessThanOrEquals(double? to)
Parameters
Type |
Name |
Description |
double? |
to |
|
Returns
|
Edit this page
View Source
Relation(RangeRelation?)
Declaration
public NumericRangeQueryDescriptor<T> Relation(RangeRelation? relation)
Parameters
Returns
Implements
Extension Methods