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
|
static Query |
LatLonShape.newLineQuery(String field,
LatLonShape.QueryRelation queryRelation,
Line... lines)
create a query to find all polygons that intersect a provided linestring (or array of linestrings)
note: does not support dateline crossing
|
static Query |
LatLonShape.newPolygonQuery(String field,
LatLonShape.QueryRelation queryRelation,
Polygon... polygons)
create a query to find all polygons that intersect a provided polygon (or array of polygons)
note: does not support dateline crossing
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.