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