C# Класс Couchbase.Search.Queries.Range.NumericRangeQuery

The numeric range query finds documents containing a numeric value in the specified field within the specified range. Either min or max can be omitted, but not both.
Наследование: FtsQueryBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Export ( ) : Newtonsoft.Json.Linq.JObject
Field ( string field ) : NumericRangeQuery

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.

Max ( double max, bool inclusive = false ) : NumericRangeQuery

The higher end of the range, exclusive by default.

Min ( double min, bool inclusive = true ) : NumericRangeQuery

The lower end of the range, inclusive by default.

Описание методов

Export() публичный Метод

public Export ( ) : Newtonsoft.Json.Linq.JObject
Результат Newtonsoft.Json.Linq.JObject

Field() публичный Метод

If a field is specified, only terms in that field will be matched. This can also affect the used analyzer if one isn't specified explicitly.
public Field ( string field ) : NumericRangeQuery
field string The field.
Результат NumericRangeQuery

Max() публичный Метод

The higher end of the range, exclusive by default.
public Max ( double max, bool inclusive = false ) : NumericRangeQuery
max double The maximum.
inclusive bool if set to true [inclusive].
Результат NumericRangeQuery

Min() публичный Метод

The lower end of the range, inclusive by default.
public Min ( double min, bool inclusive = true ) : NumericRangeQuery
min double The minimum.
inclusive bool if set to true [inclusive].
Результат NumericRangeQuery