Class GeoShapeIndexer

org.elasticsearch.index.mapper.GeoShapeIndexer

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

    Constructors
    Constructor
    Description
    GeoShapeIndexer​(boolean orientation,  name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <org.apache.lucene.index.IndexableField>
    indexShape​(org.elasticsearch.geometry.Geometry shape)
     
    org.elasticsearch.geometry.Geometry
    prepareForIndexing​(org.elasticsearch.geometry.Geometry geometry)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • GeoShapeIndexer

      public GeoShapeIndexer(boolean orientation,  name)
  • Method Details

    • prepareForIndexing

      public org.elasticsearch.geometry.Geometry prepareForIndexing(org.elasticsearch.geometry.Geometry geometry)
    • indexShape

      public <org.apache.lucene.index.IndexableField> indexShape(org.elasticsearch.geometry.Geometry shape)