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.Circle
toLuceneCircle
(Circle circle) static org.apache.lucene.geo.LatLonGeometry[]
toLuceneGeometry
(String name, SearchExecutionContext context, Geometry geometry, ShapeRelation relation) static org.apache.lucene.geo.Line
toLuceneLine
(Line line) static org.apache.lucene.geo.Point
toLucenePoint
(Point point) static org.apache.lucene.geo.Polygon
toLucenePolygon
(Polygon polygon) static org.apache.lucene.geo.Polygon
static 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)
-