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

Binary hamming fix 2.x #2456

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

kasundra07
Copy link

Description

Removes the unnecessary type conversion from byte[] to float[] and again float[] to byte for script score on KNN Binary vector using hamming space. This would help bring down the overall query latency.

For details, check #1827 (comment)

Related Issues

Resolves #1827

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • N/A API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • N/A 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.

Signed-off-by: Bansi Kasundra <[email protected]>
@jmazanec15 jmazanec15 merged commit 69e2303 into opensearch-project:2.x Jan 28, 2025
98 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants