Skip to content
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

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

0ctopus13prime
Copy link
Contributor

@0ctopus13prime 0ctopus13prime commented Sep 24, 2024

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

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@jmazanec15
Copy link
Member

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

@0ctopus13prime
Copy link
Contributor Author

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

Sure, will do in the next revision.

Copy link
Member

@jmazanec15 jmazanec15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@heemin32 heemin32 merged commit eba9d98 into opensearch-project:main Sep 27, 2024
35 of 36 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 27, 2024
…2144)

Signed-off-by: Dooyong Kim <[email protected]>
Co-authored-by: Dooyong Kim <[email protected]>
(cherry picked from commit eba9d98)
jmazanec15 pushed a commit that referenced this pull request Oct 2, 2024
…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]>
@0ctopus13prime 0ctopus13prime deleted the nmslib-patch branch October 15, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants