Skip to content

Support multiple knn fields for msearch #553

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

Closed
wants to merge 1 commit into from

Conversation

nirmalc
Copy link

@nirmalc nirmalc commented Apr 10, 2023

From 8.7, es support array or a single value for knn as part of the query. But this change is not added in multiSearch builder.

@swallez
Copy link
Member

swallez commented Apr 17, 2023

Thank you for your contribution. However, the Java API client data structures are generated from the API specification, so any manual update would be overwritten by the next code generation.

The API specification has been fixed in elastic/elasticsearch-specification#2078 and the Java client code generated with this fix, along with a few others, in d6a33d3

@swallez swallez closed this Apr 17, 2023
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 this pull request may close these issues.

2 participants