-
Notifications
You must be signed in to change notification settings - Fork 83
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
Encapsulate KNNQueryBuilder creation within NeuralKNNQueryBuilder #1183
Encapsulate KNNQueryBuilder creation within NeuralKNNQueryBuilder #1183
Conversation
6f114a9
to
6a1f045
Compare
src/main/java/org/opensearch/neuralsearch/query/NeuralKNNQueryBuilder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/query/NeuralKNNQueryBuilder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/query/NeuralKNNQueryBuilder.java
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1183 +/- ##
============================================
- Coverage 81.69% 81.69% -0.01%
+ Complexity 2489 1260 -1229
============================================
Files 186 95 -91
Lines 8434 4282 -4152
Branches 1428 717 -711
============================================
- Hits 6890 3498 -3392
+ Misses 1002 511 -491
+ Partials 542 273 -269 ☔ View full report in Codecov by Sentry. |
defb108
to
ebfc232
Compare
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, thanks
if this change is for 3.0 we need to look into BWC 3.0 -> 2.19, that's our current strategy, support rolling upgrades to latest minor of previous major, we probably should continue doing same after 3.x will be released. Of course this makes more sense if errors in BWC are hard to fix, proper deep dive is required |
Makes sense, looking into the bwc tests failure. |
Signed-off-by: Junqiu Lei <junqiu@amazon.com>
Signed-off-by: Junqiu Lei <junqiu@amazon.com>
ebfc232
to
45b99f4
Compare
The 2.19->3.0.0 bwc test failed due to known issue #1142. |
Description
Centralizes KNNQueryBuilder creation in NeuralKNNQueryBuilder to:
Related Issues
Part of #1182
Check List
--signoff
.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.