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] KNN should not be part of request body #579

Closed
amberzsy opened this issue Sep 15, 2024 · 0 comments · Fixed by #580
Closed

[BUG] KNN should not be part of request body #579

amberzsy opened this issue Sep 15, 2024 · 0 comments · Fixed by #580
Labels
bug Something isn't working untriaged

Comments

@amberzsy
Copy link
Contributor

What is the bug?

knn is defined in DSL here and should not be part of search request body. https://opensearch.org/docs/latest/api-reference/search/.

How can one reproduce the bug?

make search request with knn property in request body, would expect to get unsupported error.

What is the expected behavior?

KNN query is not part of search request body.

Do you have any screenshots?

image

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

Successfully merging a pull request may close this issue.

1 participant