Package org.elasticsearch.index.query
Class LegacyGeoShapeQueryProcessor
java.lang.Object
org.elasticsearch.index.query.LegacyGeoShapeQueryProcessor
-
Constructor Summary
ConstructorDescriptionLegacyGeoShapeQueryProcessor(LegacyGeoShapeFieldMapper.GeoShapeFieldType shapeFieldType)
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeBuilder<?,?,?>
geometryToShapeBuilder(org.elasticsearch.geometry.Geometry geometry)
org.apache.lucene.search.Query
geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, SearchExecutionContext context)
static org.apache.lucene.spatial.query.SpatialArgs
getArgs(org.elasticsearch.geometry.Geometry shape, ShapeRelation relation)
-
Constructor Details
-
LegacyGeoShapeQueryProcessor
-
-
Method Details
-
geoShapeQuery
public org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, 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)
-