-
Notifications
You must be signed in to change notification settings - Fork 126
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
Added NMSLIB patched allowing load/write APIs with a stream object. #2144
Conversation
20d5e34
to
1bdcd9d
Compare
Thanks @0ctopus13prime . Can you update the CMake file with this patch so it gets built? See https://github.com/opensearch-project/k-NN/blob/main/DEVELOPER_GUIDE.md#custom-patch-on-jni-library |
jni/patches/nmslib/0003-Added-LoadIndexWithStream-and-SaveIndexWithStream.patch
Outdated
Show resolved
Hide resolved
jni/patches/nmslib/0003-Added-LoadIndexWithStream-and-SaveIndexWithStream.patch
Outdated
Show resolved
Hide resolved
Sure, will do in the next revision. |
1bdcd9d
to
2ed56ab
Compare
Signed-off-by: Dooyong Kim <[email protected]>
2ed56ab
to
07ff6f1
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.
LGTM thanks!
…2144) Signed-off-by: Dooyong Kim <[email protected]> Co-authored-by: Dooyong Kim <[email protected]> (cherry picked from commit eba9d98)
…2144) Signed-off-by: Dooyong Kim <[email protected]> Co-authored-by: Dooyong Kim <[email protected]> (cherry picked from commit eba9d98) Signed-off-by: John Mazanec <[email protected]>
Descriptions
This patch adds two new methods in NMSLIB that accepts stream objects to let its internal hnsw can read and write bytes. Which will eventually trigger Lucene’s IndexInput in the PR to be raised.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.