Package org.elasticsearch.common.geo
Class GeoShapeUtils
java.lang.Object
org.elasticsearch.common.geo.GeoShapeUtils
public class GeoShapeUtils
extends java.lang.Object
Utility class that transforms Elasticsearch geometry objects to the Lucene representation
-
Method Summary
Modifier and Type Method Description static org.apache.lucene.geo.Circle
toLuceneCircle(Circle circle)
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
toLucenePolygon(Rectangle r)
static org.apache.lucene.geo.Rectangle
toLuceneRectangle(Rectangle r)