Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kolchfa-aws opened this issue Aug 19, 2024 · 4 comments · Fixed by #531
Closed

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

kolchfa-aws opened this issue Aug 19, 2024 · 4 comments · Fixed by #531
Assignees
Labels
bug Something isn't working

Comments

@kolchfa-aws
Copy link
Contributor

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 kolchfa-aws added bug Something isn't working untriaged labels Aug 19, 2024
@dblock
Copy link
Member

dblock commented Aug 19, 2024

Is this a feature request to OpenSearch core?

@kolchfa-aws
Copy link
Contributor Author

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 dblock removed the untriaged label Aug 19, 2024
@kolchfa-aws
Copy link
Contributor Author

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

@kolchfa-aws
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants