@InterfaceStability.Uncommitted @InterfaceAudience.Public public class TermRangeQuery extends AbstractFtsQuery
Constructor and Description |
---|
TermRangeQuery() |
Modifier and Type | Method and Description |
---|---|
TermRangeQuery |
boost(double boost) |
TermRangeQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
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.
|
injectParamsAndBoost, toString
public 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 AbstractFtsQuery
protected void injectParams(JsonObject input)
AbstractFtsQuery
SearchQuery.export()
.injectParams
in class AbstractFtsQuery
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.