Class GeoBoundingBoxQuery
- java.lang.Object
-
- com.couchbase.client.java.search.SearchQuery
-
- com.couchbase.client.java.search.queries.GeoBoundingBoxQuery
-
public class GeoBoundingBoxQuery extends SearchQuery
A FTS query which allows to match geo bounding boxes.- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description GeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoBoundingBoxQueryboost(double boost)GeoBoundingBoxQueryfield(String field)protected voidinjectParams(JsonObject input)-
Methods inherited from class com.couchbase.client.java.search.SearchQuery
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
-
-
-
-
Method Detail
-
field
public GeoBoundingBoxQuery field(String field)
-
boost
public GeoBoundingBoxQuery boost(double boost)
- Overrides:
boostin classSearchQuery
-
injectParams
protected void injectParams(JsonObject input)
- Specified by:
injectParamsin classSearchQuery
-
-