Class GeoPolygonQuery
java.lang.Object
com.couchbase.client.java.search.SearchQuery
com.couchbase.client.java.search.queries.GeoPolygonQuery
A search query which allows to match inside a geo polygon.
-
Field Summary
Fields inherited from class com.couchbase.client.java.search.SearchQuery
boost
-
Constructor Summary
-
Method Summary
Methods inherited from class com.couchbase.client.java.search.SearchQuery
booleanField, 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
-
GeoPolygonQuery
-
-
Method Details
-
field
Allows to specify which field the query should apply to (default is null).- Parameters:
field
- the name of the field in the index/document (if null it is not considered).- Returns:
- this
GeoPolygonQuery
for chaining purposes.
-
boost
- Overrides:
boost
in classSearchQuery
-
toCore
- Specified by:
toCore
in classSearchQuery
-