Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Method and Description |
---|---|
static LatLonShape.QueryRelation |
LatLonShape.QueryRelation.valueOf(java.lang.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(java.lang.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(java.lang.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(java.lang.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–2019 The Apache Software Foundation. All rights reserved.