Package org.elasticsearch.index.query
Class LegacyGeoShapeQueryProcessor
java.lang.Object
org.elasticsearch.index.query.LegacyGeoShapeQueryProcessor
- All Implemented Interfaces:
AbstractGeometryFieldMapper.QueryProcessor
public class LegacyGeoShapeQueryProcessor extends java.lang.Object implements AbstractGeometryFieldMapper.QueryProcessor
-
Constructor Summary
Constructors Constructor Description LegacyGeoShapeQueryProcessor(AbstractGeometryFieldMapper.AbstractGeometryFieldType ft)
-
Method Summary
Modifier and Type Method Description static ShapeBuilder<?,?,?>
geometryToShapeBuilder(Geometry geometry)
static org.apache.lucene.spatial.query.SpatialArgs
getArgs(Geometry shape, ShapeRelation relation)
org.apache.lucene.search.Query
process(Geometry shape, java.lang.String fieldName, ShapeRelation relation, QueryShardContext context)
org.apache.lucene.search.Query
process(Geometry shape, java.lang.String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)
-
Constructor Details
-
Method Details
-
process
public org.apache.lucene.search.Query process(Geometry shape, java.lang.String fieldName, ShapeRelation relation, QueryShardContext context)- Specified by:
process
in interfaceAbstractGeometryFieldMapper.QueryProcessor
-
process
public org.apache.lucene.search.Query process(Geometry shape, java.lang.String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)- Specified by:
process
in interfaceAbstractGeometryFieldMapper.QueryProcessor
-
getArgs
public static org.apache.lucene.spatial.query.SpatialArgs getArgs(Geometry shape, ShapeRelation relation) -
geometryToShapeBuilder
-