Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Field and Description |
---|---|
(package private) LatLonShape.QueryRelation |
LatLonShapeQuery.queryRelation
query relation
disjoint:
CELL_OUTSIDE_QUERY
intersects: CELL_CROSSES_QUERY ,
within: CELL_WITHIN_QUERY |
(package private) LatLonShape.QueryRelation |
LatLonShapeQuery.RelationScorerSupplier.queryRelation |
Modifier and Type | Method and Description |
---|---|
LatLonShape.QueryRelation |
LatLonShapeQuery.getQueryRelation()
returns the query relation
|
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
|
protected boolean |
LatLonShapePolygonQuery.queryMatches(byte[] t,
int[] scratchTriangle,
LatLonShape.QueryRelation queryRelation) |
protected boolean |
LatLonShapeLineQuery.queryMatches(byte[] t,
int[] scratchTriangle,
LatLonShape.QueryRelation queryRelation) |
protected boolean |
LatLonShapeBoundingBoxQuery.queryMatches(byte[] t,
int[] scratchTriangle,
LatLonShape.QueryRelation queryRelation)
returns true if the query matches the encoded triangle
|
protected abstract boolean |
LatLonShapeQuery.queryMatches(byte[] triangle,
int[] scratchTriangle,
LatLonShape.QueryRelation queryRelation)
returns true if the provided triangle matches the query
|
protected PointValues.Relation |
LatLonShapeQuery.relateRangeToQuery(byte[] minTriangle,
byte[] maxTriangle,
LatLonShape.QueryRelation queryRelation)
relates a range of triangles (internal node) to the query
|
Constructor and Description |
---|
LatLonShapeBoundingBoxQuery(java.lang.String field,
LatLonShape.QueryRelation queryRelation,
double minLat,
double maxLat,
double minLon,
double maxLon) |
LatLonShapeLineQuery(java.lang.String field,
LatLonShape.QueryRelation queryRelation,
Line... lines) |
LatLonShapePolygonQuery(java.lang.String field,
LatLonShape.QueryRelation queryRelation,
Polygon... polygons)
Creates a query that matches all indexed shapes to the provided polygons
|
LatLonShapeQuery(java.lang.String field,
LatLonShape.QueryRelation queryType) |
RelationScorerSupplier(PointValues values,
PointValues.IntersectVisitor visitor,
PointValues.IntersectVisitor disjointVisitor,
LatLonShape.QueryRelation queryRelation) |