-
Notifications
You must be signed in to change notification settings - Fork 115
Add types to 'knn_search' API #932
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
Conversation
c867a57 to
9013c13
Compare
|
@sethmlarson thanks for tackling this! In addition to
They are not available as query parameters, unlike in the |
|
@delvedor @jtibshirani I believe I've resolved the review comments. Let me know if things look good. |
jtibshirani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
|
This PR can't be backported because the JSON specs haven't been updated in some time on 7.x/7.16. |
|
@sethmlarson kNN search will only be available in ES 8.0, so it won't appear in the spec on 7.x. |
|
@jtibshirani That explains it! |
Adds the
knn_searchAPI. @jtibshirani could you take a look and let me know if there are missing parameters? I looked over the PRs and saw some chatter about docvalues_fields, stored_fields, etc but didn't see those values in the query parameter section of the API so went with onlyrouting.