Package org.elasticsearch.index.mapper
Class GeoShapeIndexer
java.lang.Object
org.elasticsearch.index.mapper.GeoShapeIndexer
Utility class that converts geometries into Lucene-compatible form for indexing in a geo_shape field.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.lucene.index.IndexableField>
indexShape(org.elasticsearch.geometry.Geometry shape)
org.elasticsearch.geometry.Geometry
prepareForIndexing(org.elasticsearch.geometry.Geometry geometry)
-
Constructor Details
-
GeoShapeIndexer
-
-
Method Details
-
prepareForIndexing
public org.elasticsearch.geometry.Geometry prepareForIndexing(org.elasticsearch.geometry.Geometry geometry) -
indexShape
public List<org.apache.lucene.index.IndexableField> indexShape(org.elasticsearch.geometry.Geometry shape)
-