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

Missing parameter K in KnnQuery #861

Closed
drndos opened this issue Aug 12, 2024 · 1 comment · Fixed by #868
Closed

Missing parameter K in KnnQuery #861

drndos opened this issue Aug 12, 2024 · 1 comment · Fixed by #868

Comments

@drndos
Copy link

drndos commented Aug 12, 2024

Java API client version

8.15.0

Java version

21

Elasticsearch Version

8.15

Problem description

In issue #774 you have removed the k parameter from KnnQuery as per documentation https://www.elastic.co/guide/en/elasticsearch/reference/8.13/query-dsl-knn-query.html but the k parameter was reintroduced in 8.15 https://www.elastic.co/guide/en/elasticsearch/reference/8.15/query-dsl-knn-query.html
Could you please update the specs and client so it reflects the docs of 8.15 ?

Thank you

@l-trotta
Copy link
Contributor

Hello! Thank you for reporting this, we already took care of it, it will be in the next patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants