@InterfaceStability.Uncommitted @InterfaceAudience.Public public class GeoBoundingBoxQuery extends AbstractFtsQuery
A FTS query which allows to match geo bounding boxes.
Constructor and Description |
---|
GeoBoundingBoxQuery(double topLeftLon,
double topLeftLat,
double bottomRightLon,
double bottomRightLat) |
Modifier and Type | Method and Description |
---|---|
GeoBoundingBoxQuery |
boost(double boost) |
GeoBoundingBoxQuery |
field(String field) |
protected void |
injectParams(JsonObject input)
Override to inject query-specific parameters when doing the
SearchQuery.export() . |
injectParamsAndBoost, toString
public GeoBoundingBoxQuery(double topLeftLon, double topLeftLat, double bottomRightLon, double bottomRightLat)
public GeoBoundingBoxQuery field(String field)
public GeoBoundingBoxQuery boost(double boost)
boost
in class AbstractFtsQuery
protected void injectParams(JsonObject input)
AbstractFtsQuery
Override to inject query-specific parameters when doing the SearchQuery.export()
.
injectParams
in class AbstractFtsQuery
input
- the prepared JsonObject
that will represent the query.Copyright © 2015 Couchbase, Inc.