Package | Description |
---|---|
org.apache.lucene.document |
This package contains several point types:
BigIntegerPoint for 128-bit integers
LatLonPoint for latitude/longitude geospatial points
|
Modifier and Type | Method and Description |
---|---|
static LatLonShape.QueryRelation |
LatLonShape.QueryRelation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LatLonShape.QueryRelation[] |
LatLonShape.QueryRelation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Query |
LatLonShape.newBoxQuery(String field,
LatLonShape.QueryRelation queryRelation,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude)
create a query to find all polygons that intersect a defined bounding box
note: does not currently support dateline crossing boxes
todo split dateline crossing boxes into two queries like
LatLonPoint.newBoxQuery(java.lang.String, double, double, double, double) |
static Query |
LatLonShape.newPolygonQuery(String field,
LatLonShape.QueryRelation queryRelation,
Polygon... polygons) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.