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
파일 보기 프로젝트 열기: couchbase/couchbase-net-client 1 사용 예제들

공개 메소드들

메소드 설명
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