public class NumericRangeQuery extends SearchQuery
boost| Constructor and Description |
|---|
NumericRangeQuery() |
| Modifier and Type | Method and Description |
|---|---|
NumericRangeQuery |
boost(double boost) |
NumericRangeQuery |
field(String field) |
NumericRangeQuery |
max(double max)
Sets the upper boundary of the range.
|
NumericRangeQuery |
max(double max,
boolean inclusive)
Sets the upper boundary of the range, inclusive or not depending on the second parameter.
|
NumericRangeQuery |
min(double min)
Sets the lower boundary of the range.
|
NumericRangeQuery |
min(double min,
boolean inclusive)
Sets the lower boundary of the range, inclusive or not depending on the second parameter.
|
com.couchbase.client.core.api.search.CoreSearchQuery |
toCore() |
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcardpublic NumericRangeQuery min(double min, boolean inclusive)
public NumericRangeQuery min(double min)
min(double, boolean)public NumericRangeQuery max(double max, boolean inclusive)
public NumericRangeQuery max(double max)
max(double, boolean)public NumericRangeQuery field(String field)
public NumericRangeQuery boost(double boost)
boost in class SearchQuerypublic com.couchbase.client.core.api.search.CoreSearchQuery toCore()
toCore in class SearchQueryCopyright © 2024 Couchbase, Inc.. All rights reserved.