public class NumericRangeQuery extends SearchQuery
Constructor and Description |
---|
NumericRangeQuery() |
Modifier and Type | Method and Description |
---|---|
NumericRangeQuery |
boost(double boost) |
NumericRangeQuery |
field(String field) |
protected void |
injectParams(JsonObject input) |
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.
|
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, injectParamsAndBoost, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcard
public 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 SearchQuery
protected void injectParams(JsonObject input)
injectParams
in class SearchQuery
Copyright © 2020 Couchbase, Inc.. All rights reserved.