Package org.elasticsearch.index.query
Class LegacyGeoShapeQueryProcessor
java.lang.Object
org.elasticsearch.index.query.LegacyGeoShapeQueryProcessor
public class LegacyGeoShapeQueryProcessor
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description LegacyGeoShapeQueryProcessor(AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType ft)
-
Method Summary
Modifier and Type Method Description static ShapeBuilder<?,?,?>
geometryToShapeBuilder(org.elasticsearch.geometry.Geometry geometry)
org.apache.lucene.search.Query
geoShapeQuery(org.elasticsearch.geometry.Geometry shape, java.lang.String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)
static org.apache.lucene.spatial.query.SpatialArgs
getArgs(org.elasticsearch.geometry.Geometry shape, ShapeRelation relation)
-
Constructor Details
-
LegacyGeoShapeQueryProcessor
public LegacyGeoShapeQueryProcessor(AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType ft)
-
-
Method Details
-
geoShapeQuery
public org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, java.lang.String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context) -
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)
-