Class GeoDistanceQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.GeoDistanceQuery
public class GeoDistanceQuery extends SearchQuery
A FTS query which allows to match on geo distances.
- Since:
- 2.4.5
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description GeoDistanceQuery(double locationLon, double locationLat, String distance) -
Method Summary
Modifier and Type Method Description GeoDistanceQueryboost(double boost)GeoDistanceQueryfield(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
-
Constructor Details
-
GeoDistanceQuery
-
-
Method Details
-
field
-
boost
- Overrides:
boostin classSearchQuery
-
injectParams
- Specified by:
injectParamsin classSearchQuery
-