-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fixed unit test for neural query after recent knn change in rescore context #927
Fixed unit test for neural query after recent knn change in rescore context #927
Conversation
…ontext Signed-off-by: Martin Gaievski <gaievski@amazon.com>
BWC will keep failing until packages with opensearch-project/k-NN#2195 got propagated to all maven repos |
@martin-gaievski The code looks good to me. Shall we wait for the k-NN change to fix the BWC tests? |
I don't think we need to wait, we need changes from this PR anyways, and propagation of build artifacts can take days |
@martin-gaievski I've verified that UT can pass with your PR. Thanks for creating this PR. |
Pinging @navneet1v and @vibrantvarun for code review. |
ba94f75
into
opensearch-project:main
…ontext (opensearch-project#927) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Fixed unit test for neural query after recent push in k-NN opensearch-project/k-NN#2183. In that PR k-NN team has added a field
userProvided
to RescoreContext, and by default it'sfalse
, but anything user provided istrue
. Because of this theequals
check in RescoreContext class start failing, and we need to compare only on certain fields.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.