Package org.elasticsearch.common.geo
Class GeoShapeUtils
java.lang.Object
org.elasticsearch.common.geo.GeoShapeUtils
Utility class that transforms Elasticsearch geometry objects to the Lucene representation
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.geo.CircletoLuceneCircle(Circle circle) static org.apache.lucene.geo.LatLonGeometry[]toLuceneGeometry(String name, SearchExecutionContext context, Geometry geometry, ShapeRelation relation) static org.apache.lucene.geo.LinetoLuceneLine(Line line) static org.apache.lucene.geo.PointtoLucenePoint(Point point) static org.apache.lucene.geo.PolygontoLucenePolygon(Polygon polygon) static org.apache.lucene.geo.Polygonstatic org.apache.lucene.geo.Rectangle
-
Method Details
-
toLucenePolygon
-
toLucenePolygon
-
toLuceneRectangle
-
toLucenePoint
-
toLuceneLine
-
toLuceneCircle
-
toLuceneGeometry
public static org.apache.lucene.geo.LatLonGeometry[] toLuceneGeometry(String name, SearchExecutionContext context, Geometry geometry, ShapeRelation relation)
-