Class GeoShapeIndexer

java.lang.Object
org.elasticsearch.index.mapper.GeoShapeIndexer

public class GeoShapeIndexer extends Object
Utility class that converts geometries into Lucene-compatible form for indexing in a geo_shape field.
  • Constructor Details

    • GeoShapeIndexer

      public GeoShapeIndexer(boolean orientation, String name)
  • 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)