opensearch-api-specification icon indicating copy to clipboard operation
opensearch-api-specification copied to clipboard

[BUG]Change shape query to xy query and add xy point and xy shape to the spec

Open kolchfa-aws opened this issue 1 year ago • 2 comments

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.

kolchfa-aws avatar Aug 19 '24 16:08 kolchfa-aws

Is this a feature request to OpenSearch core?

dblock avatar Aug 19 '24 18:08 dblock

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".

kolchfa-aws avatar Aug 19 '24 21:08 kolchfa-aws

@dblock I can give it a try if you want to assign this to me

kolchfa-aws avatar Aug 20 '24 13:08 kolchfa-aws

Additionally, I will correct the geoshape parameters as well (some are deprected)

kolchfa-aws avatar Aug 23 '24 19:08 kolchfa-aws