Class GeoBoundingBoxQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.GeoBoundingBoxQuery
A FTS query which allows to match geo bounding boxes.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Constructor Summary
ConstructorsConstructorDescriptionGeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat) -
Method Summary
Modifier and TypeMethodDescriptionboost(double boost) 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
-
Constructor Details
-
GeoBoundingBoxQuery
public GeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat)
-
-
Method Details
-
field
-
boost
- Overrides:
boostin classSearchQuery
-
injectParams
- Specified by:
injectParamsin classSearchQuery
-