Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.geo |
Geospatial Utility Implementations for Lucene Core
|
Modifier and Type | Method and Description |
---|---|
static Field[] |
XYShape.createIndexableFields(String fieldName,
XYPolygon polygon)
create indexable fields for cartesian polygon geometry
|
static Query |
XYShape.newPolygonQuery(String field,
ShapeField.QueryRelation queryRelation,
XYPolygon... polygons)
create a query to find all cartesian shapes that intersect a provided polygon (or array of polygons)
|
static Query |
XYPointField.newPolygonQuery(String field,
XYPolygon... polygons)
Create a query for matching one or more polygons.
|
static Query |
XYDocValuesField.newSlowPolygonQuery(String field,
XYPolygon... polygons)
Create a query for matching points within the supplied polygons.
|
Modifier and Type | Method and Description |
---|---|
XYPolygon[] |
XYPolygon.getHoles()
Returns a copy of the internal holes array
|
Modifier and Type | Method and Description |
---|---|
static List<Tessellator.Triangle> |
Tessellator.tessellate(XYPolygon polygon) |
Constructor and Description |
---|
XYPolygon(float[] x,
float[] y,
XYPolygon... holes)
Creates a new Polygon from the supplied x, y arrays, and optionally any holes.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.