public class GeoPolygonQuery extends SearchQuery
| 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).
|
protected void |
injectParams(JsonObject input) |
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, 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 SearchQueryprotected void injectParams(JsonObject input)
injectParams in class SearchQueryCopyright © 2021 Couchbase, Inc.. All rights reserved.