-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix KNN SpaceType.getVectorSimilarityFunction renamed issue #834
Conversation
Signed-off-by: Liyun Xiu <[email protected]>
Signed-off-by: Liyun Xiu <[email protected]>
It is nice of you to raise the PR. Can you please update the changelog and fix CI failures? |
@chishui seems like there are changes in MLCommons that broke the build.
|
It's due to JDK version mismatch between ml-commons and neural search. From ml-commons, the expected JDK is 21. The version is thus 65. In neural-search, the version is 55 due to lower version JDK. |
This PR is ready for review: #835 |
covered in this PR #835 |
* Fix KNN SpaceType.getVectorSimilarityFunction renamed issue. Signed-off-by: Liyun Xiu <[email protected]> * Fix NPE for a test Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]> (cherry picked from commit 08d82b1)
) * Fix KNN SpaceType.getVectorSimilarityFunction renamed issue. Signed-off-by: Liyun Xiu <[email protected]> * Fix NPE for a test Signed-off-by: Liyun Xiu <[email protected]> --------- Signed-off-by: Liyun Xiu <[email protected]> (cherry picked from commit 08d82b1) Co-authored-by: Liyun Xiu <[email protected]>
Description
Knn repo
SpaceType.getVectorSimilarityFunction
has been rename toSpaceType.getKnnVectorSimilarityFunction
by this PR which caused :compileTestFixturesJava failure https://github.com/opensearch-project/neural-search/actions/runs/9904116192/job/27602462802?pr=832Issues Resolved
Check List
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.