Package org.elasticsearch.index.mapper
Class LegacyGeoShapeIndexer
java.lang.Object
org.elasticsearch.index.mapper.LegacyGeoShapeIndexer
- All Implemented Interfaces:
AbstractGeometryFieldMapper.Indexer<ShapeBuilder<?,?,?>,org.locationtech.spatial4j.shape.Shape>
public class LegacyGeoShapeIndexer extends java.lang.Object implements AbstractGeometryFieldMapper.Indexer<ShapeBuilder<?,?,?>,org.locationtech.spatial4j.shape.Shape>
-
Constructor Summary
Constructors Constructor Description LegacyGeoShapeIndexer(LegacyGeoShapeFieldMapper.GeoShapeFieldType fieldType)
-
Method Summary
Modifier and Type Method Description java.util.List<org.apache.lucene.index.IndexableField>
indexShape(ParseContext context, org.locationtech.spatial4j.shape.Shape shape)
org.locationtech.spatial4j.shape.Shape
prepareForIndexing(ShapeBuilder<?,?,?> shapeBuilder)
java.lang.Class<org.locationtech.spatial4j.shape.Shape>
processedClass()
-
Constructor Details
-
Method Details
-
prepareForIndexing
public org.locationtech.spatial4j.shape.Shape prepareForIndexing(ShapeBuilder<?,?,?> shapeBuilder)- Specified by:
prepareForIndexing
in interfaceAbstractGeometryFieldMapper.Indexer<ShapeBuilder<?,?,?>,org.locationtech.spatial4j.shape.Shape>
-
processedClass
public java.lang.Class<org.locationtech.spatial4j.shape.Shape> processedClass()- Specified by:
processedClass
in interfaceAbstractGeometryFieldMapper.Indexer<ShapeBuilder<?,?,?>,org.locationtech.spatial4j.shape.Shape>
-
indexShape
public java.util.List<org.apache.lucene.index.IndexableField> indexShape(ParseContext context, org.locationtech.spatial4j.shape.Shape shape)- Specified by:
indexShape
in interfaceAbstractGeometryFieldMapper.Indexer<ShapeBuilder<?,?,?>,org.locationtech.spatial4j.shape.Shape>
-