-
Notifications
You must be signed in to change notification settings - Fork 191
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
Add support for radial search on Neural query #1235
Add support for radial search on Neural query #1235
Conversation
I see the parameters present in the API spec. How far are we from getting this via the code generator? |
The query types (plus a couple others) have special deserialization logic for handling the fact they're "single key dictionaries", keyed on field, and in Java (and .NET) the field value gets flattened into the same class as the other query properties. So requires tweaking the spec to be consistent in how they're represented to be able to add special handling to the generator. It is one of the next things I'm going to look into, and will need to make sure the spec changes work for the people working on protobuf representation of the search api. |
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
2f35133
to
5b96f6c
Compare
* Add support for radial search on k-NN and Neural query types Signed-off-by: Thomas Farr <[email protected]> * spotless Signed-off-by: Thomas Farr <[email protected]> * Fix compile errors Signed-off-by: Thomas Farr <[email protected]> * Fix test Signed-off-by: Thomas Farr <[email protected]> --------- Signed-off-by: Thomas Farr <[email protected]> (cherry picked from commit a3a3e54) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add support for radial search on Neural query (#1235) * Add support for radial search on k-NN and Neural query types Signed-off-by: Thomas Farr <[email protected]> * spotless Signed-off-by: Thomas Farr <[email protected]> * Fix compile errors Signed-off-by: Thomas Farr <[email protected]> * Fix test Signed-off-by: Thomas Farr <[email protected]> --------- Signed-off-by: Thomas Farr <[email protected]> (cherry picked from commit a3a3e54) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix compile error Signed-off-by: Thomas Farr <[email protected]> --------- Signed-off-by: Thomas Farr <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Thomas Farr <[email protected]>
Description
Add support for radial search on k-NN and Neural query types
Issues Resolved
Fixes #1226
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.