Class NumericRangeQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.NumericRangeQuery
A FTS query that matches documents on a range of values. At least one bound is required, and the
 inclusiveness of each bound can be configured.
- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
- 
Field SummaryFields inherited from class com.couchbase.client.java.search.SearchQueryboost
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionboost(double boost) max(double max) Sets the upper boundary of the range.max(double max, boolean inclusive) Sets the upper boundary of the range, inclusive or not depending on the second parameter.min(double min) Sets the lower boundary of the range.min(double min, boolean inclusive) Sets the lower boundary of the range, inclusive or not depending on the second parameter.toCore()Methods inherited from class com.couchbase.client.java.search.SearchQuerybooleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcard
- 
Constructor Details- 
NumericRangeQuerypublic NumericRangeQuery()
 
- 
- 
Method Details- 
minSets the lower boundary of the range, inclusive or not depending on the second parameter.
- 
minSets the lower boundary of the range. The lower boundary is considered inclusive by default on the server side.- See Also:
 
- 
maxSets the upper boundary of the range, inclusive or not depending on the second parameter.
- 
maxSets the upper boundary of the range. The upper boundary is considered exclusive by default on the server side.- See Also:
 
- 
field
- 
boost- Overrides:
- boostin class- SearchQuery
 
- 
toCore- Specified by:
- toCorein class- SearchQuery
 
 
-