@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, toStringpublic GeoBoundingBoxQuery(double topLeftLon,
double topLeftLat,
double bottomRightLon,
double bottomRightLat)
public GeoBoundingBoxQuery field(String field)
public GeoBoundingBoxQuery boost(double boost)
boost in class AbstractFtsQueryprotected void injectParams(JsonObject input)
AbstractFtsQueryOverride to inject query-specific parameters when doing the SearchQuery.export().
injectParams in class AbstractFtsQueryinput - the prepared JsonObject that will represent the query.Copyright © 2015 Couchbase, Inc.