public class TermRangeQuery extends SearchQuery
| Constructor and Description |
|---|
TermRangeQuery() |
| Modifier and Type | Method and Description |
|---|---|
TermRangeQuery |
boost(double boost) |
TermRangeQuery |
field(String field) |
protected void |
injectParams(JsonObject input) |
TermRangeQuery |
max(String max)
Sets the upper boundary of the range.
|
TermRangeQuery |
max(String max,
boolean inclusive)
Sets the upper boundary of the range, inclusive or not depending on the second parameter.
|
TermRangeQuery |
min(String min)
Sets the lower boundary of the range.
|
TermRangeQuery |
min(String 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, wildcardpublic TermRangeQuery min(String min, boolean inclusive)
public TermRangeQuery min(String min)
min(String, boolean)public TermRangeQuery max(String max, boolean inclusive)
public TermRangeQuery max(String max)
max(String, boolean)public TermRangeQuery field(String field)
public TermRangeQuery boost(double boost)
boost in class SearchQueryprotected void injectParams(JsonObject input)
injectParams in class SearchQueryCopyright © 2021 Couchbase, Inc.. All rights reserved.