Repository navigation
Expose the NVQ getter - #693
Merged
Merged
Conversation
Signed-off-by: Akash Shankaran <akash.shankaran1@gmail.com>
akash-shankaran
requested review from
MarkWolters,
ashkrisk,
jshook and
tlwillke
as code owners
July 7, 2026 14:23
Contributor
|
Before you submit for review:
If you did not complete any of these, then please explain below. |
3 of 5 tasks
reta
approved these changes
Jul 8, 2026
r-devulap
approved these changes
Jul 9, 2026
r-devulap
left a comment
Contributor
There was a problem hiding this comment.
Seems simple enough. LGTM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In OpenSearch, we plan to make use of the NVQ Feature presence, if NVQ vectors need to be dequantized back to float. The current technique is using reflection, but it would be better to expose the getter which will make the implementation cleaner.
https://github.com/opensearch-project/opensearch-jvector/pull/539/changes/BASE..1122f0d283d441efa697e72d2d0a9311b09e3820#diff-76d766440abecf3c20679bf1b8eb51eead85a9363a60478703aedcadf4d4f73dR417