Class GeoShapeIndexer

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

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

    Constructors
    Constructor Description
    GeoShapeIndexer​(boolean orientation, java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<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.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeoShapeIndexer

      public GeoShapeIndexer​(boolean orientation, java.lang.String name)
  • Method Details

    • prepareForIndexing

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

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