- All Superinterfaces:
- Query, java.io.Serializable, StandardQuery
@Value.Immutable(copy=false)
public interface GeoShapeQuery
extends StandardQuery
The geo_shape query uses the same grid square representation as the geo_shape mapping to find
documents that have a shape that intersects with the query shape. It will also use the same
PrefixTree configuration as defined for the field mapping.
The query supports two ways of defining the query shape, either by providing a whole shape
definition, or by referencing the name of a shape pre-indexed in another index.
- See Also:
- GeoShape
Query