- All Known Implementing Classes:
GeoPointFieldMapper.GeoPointFieldType,GeoPointScriptFieldType,GeoShapeFieldMapper.GeoShapeFieldType
public interface GeoShapeQueryable
Implemented by
MappedFieldType that support
GeoShape queries.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerygeoShapeQuery(SearchExecutionContext context, String fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... luceneGeometries) default org.apache.lucene.search.QuerygeoShapeQuery(SearchExecutionContext context, String fieldName, ShapeRelation relation, Geometry shape) default org.apache.lucene.search.QuerygeoShapeQuery(SearchExecutionContext context, String fieldName, SpatialStrategy strategy, ShapeRelation relation, Geometry shape) Deprecated.static org.apache.lucene.geo.LatLonGeometry[]toQuantizeLuceneGeometry(Geometry geometry, ShapeRelation relation) transforms an ElasticsearchGeometryinto a luceneLatLonGeometryand quantize the latitude and longitude values to match the values on the index.
-
Method Details
-
geoShapeQuery
org.apache.lucene.search.Query geoShapeQuery(SearchExecutionContext context, String fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... luceneGeometries) -
geoShapeQuery
default org.apache.lucene.search.Query geoShapeQuery(SearchExecutionContext context, String fieldName, ShapeRelation relation, Geometry shape) -
geoShapeQuery
@Deprecated default org.apache.lucene.search.Query geoShapeQuery(SearchExecutionContext context, String fieldName, SpatialStrategy strategy, ShapeRelation relation, Geometry shape) Deprecated. -
toQuantizeLuceneGeometry
static org.apache.lucene.geo.LatLonGeometry[] toQuantizeLuceneGeometry(Geometry geometry, ShapeRelation relation) transforms an ElasticsearchGeometryinto a luceneLatLonGeometryand quantize the latitude and longitude values to match the values on the index.
-