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 GeoDistanceQuery
boost(double boost)
GeoDistanceQuery
field(String field)
protected void
injectParams(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:
boost
in classSearchQuery
-
injectParams
- Specified by:
injectParams
in classSearchQuery
-