-
Notifications
You must be signed in to change notification settings - Fork 128
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 jni interface to use a binary hnsw index with faiss #1778
Conversation
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.
overall, looks pretty good. One minor comment on ChangeLog
Why is there a need to merge in main when the feature is not ready/users cannot use it? Can't you rebase the changes from main in the feature branch? |
This PR can be seen as an isolated works from any feature; Opening up binary index method of faiss through JNI, and JNI layer refactoring. |
3898397
to
4befe2b
Compare
Signed-off-by: Heemin Kim <[email protected]>
10a0938
to
34f8ec4
Compare
Signed-off-by: Heemin Kim <[email protected]>
34f8ec4
to
dafd79b
Compare
Rebased from main branch |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-1778-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a91308235d2b5652a8a75ae5f43501b805c82234
# Push it to GitHub
git push --set-upstream origin backport/backport-1778-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
…roject#1778) * Add jni interface to use a binary hnsw index with faiss (opensearch-project#1747) Signed-off-by: Heemin Kim <[email protected]> * Fix memory leak on test code (opensearch-project#1776) Signed-off-by: Heemin Kim <[email protected]> --------- Signed-off-by: Heemin Kim <[email protected]>
…roject#1778) * Add jni interface to use a binary hnsw index with faiss (opensearch-project#1747) Signed-off-by: Heemin Kim <[email protected]> * Fix memory leak on test code (opensearch-project#1776) Signed-off-by: Heemin Kim <[email protected]> --------- Signed-off-by: Heemin Kim <[email protected]>
…roject#1778) * Add jni interface to use a binary hnsw index with faiss (opensearch-project#1747) Signed-off-by: Heemin Kim <[email protected]> * Fix memory leak on test code (opensearch-project#1776) Signed-off-by: Heemin Kim <[email protected]> --------- Signed-off-by: Heemin Kim <[email protected]>
* Add jni interface to use a binary hnsw index with faiss (#1747) * Fix memory leak on test code (#1776) --------- Signed-off-by: Heemin Kim <[email protected]>
Description
It is safe to merge to main and 2.x as there is no user impact with this PR
Issues Resolved
#1767
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.