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, SearchExecutionContext context)
static org.apache.lucene.spatial.query.SpatialArgs
getArgs(org.elasticsearch.geometry.Geometry shape, ShapeRelation relation)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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, SearchExecutionContext 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)
-