opensearch-api-specification
opensearch-api-specification copied to clipboard
[BUG]Change shape query to xy query and add xy point and xy shape to the spec
What is the bug?
OpenSearch does not support a shape query. Instead, to search cartesian shapes, it supports an xy query, which works on xy points and xy shapes.
We need to change shape query to xy query in the query dsl spec and add xy point and xy shape to the mapping spec.
Is this a feature request to OpenSearch core?
It's a request to update the spec because OpenSearch does not support shape query and it's present in the spec. Instead, OpenSearch supports an xy query so we should replace "shape" with "xy".
@dblock I can give it a try if you want to assign this to me
Additionally, I will correct the geoshape parameters as well (some are deprected)