Skip to content

Conversation

@shubhamvishu
Copy link
Contributor

@shubhamvishu shubhamvishu commented Oct 23, 2025

Description

Adds missing checkDimension check to Lucene104ScalarQuantizedVectorScorer#getRandomVectorScorer (similarly like its in float[] variant) and some cleanup for duplicate checkDimension helper function

@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link
Member

@mikemccand mikemccand left a comment

Choose a reason for hiding this comment

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

Thanks @shubhamvishu -- this is just a rote refactor to consolidate 2X duplicated code.

@mikemccand mikemccand merged commit 821c289 into apache:main Oct 24, 2025
12 checks passed
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.

2 participants