Package | Description |
---|---|
org.apache.lucene.spatial.geopoint.document |
Geospatial Field Implementations for Core Lucene
|
org.apache.lucene.spatial.geopoint.search |
Geospatial Query Implementations for Core Lucene
|
Modifier and Type | Method and Description |
---|---|
static GeoPointField.TermEncoding |
GeoPointField.TermEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoPointField.TermEncoding[] |
GeoPointField.TermEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
GeoPointField(String name,
double latitude,
double longitude,
GeoPointField.TermEncoding termEncoding,
Field.Store stored)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected GeoPointField.TermEncoding |
GeoPointInBBoxQuery.termEncoding
term encoding enum to define how the points are encoded (PREFIX or NUMERIC)
|
Constructor and Description |
---|
GeoPointDistanceQuery(String field,
GeoPointField.TermEncoding termEncoding,
double centerLat,
double centerLon,
double radiusMeters)
Constructs a Query for all
GeoPointField types within a
distance (in meters) from a given point. |
GeoPointInBBoxQuery(String field,
GeoPointField.TermEncoding termEncoding,
double minLat,
double maxLat,
double minLon,
double maxLon)
Constructs a query for all
GeoPointField types that fall within a
defined bounding box. |
GeoPointInPolygonQuery(String field,
GeoPointField.TermEncoding termEncoding,
double[] polyLats,
double[] polyLons)
Deprecated.
|
GeoPointInPolygonQuery(String field,
GeoPointField.TermEncoding termEncoding,
Polygon... polygons)
Constructs a new GeoPolygonQuery that will match encoded
GeoPointField terms
that fall within or on the boundary of the polygons defined by the input parameters. |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.