@SinceCouchbase(value="6.5.1") public class GeoPolygonQuery extends SearchQuery
boost| Constructor and Description |
|---|
GeoPolygonQuery(List<Coordinate> coordinates) |
| Modifier and Type | Method and Description |
|---|---|
GeoPolygonQuery |
boost(double boost) |
GeoPolygonQuery |
field(String field)
Allows to specify which field the query should apply to (default is null).
|
com.couchbase.client.core.api.search.CoreSearchQuery |
toCore() |
booleanField, booleans, conjuncts, dateRange, disjuncts, docId, export, geoBoundingBox, geoBoundingBox, geoDistance, geoDistance, geoPolygon, match, matchAll, matchNone, matchPhrase, numericRange, phrase, prefix, queryString, regexp, term, termRange, toString, wildcardpublic GeoPolygonQuery(List<Coordinate> coordinates)
public GeoPolygonQuery field(String field)
field - the name of the field in the index/document (if null it is not considered).GeoPolygonQuery for chaining purposes.public GeoPolygonQuery boost(double boost)
boost in class SearchQuerypublic com.couchbase.client.core.api.search.CoreSearchQuery toCore()
toCore in class SearchQueryCopyright © 2024 Couchbase, Inc.. All rights reserved.