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

GITHUB-12224: copy KnnGraphTester from Lucene and update related scri… #218

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

msokolov
Copy link
Collaborator

…pts and instructions

Copy link
Collaborator

@zhaih zhaih left a comment

Choose a reason for hiding this comment

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

Thanks Mike, I just tried it and looks good to me.

for (int i = 0; i < vec.length; i++) {
bvec[i] = (byte) vec[i];
}
out.write(bvec);
Copy link
Owner

Choose a reason for hiding this comment

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

Oooh byte -> float vectors ... will this change the nightly vectors indexing test too? We should add an annotation if so.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this was a bug and this code-path was not being exercised because if it were it would have failed with ClassCastException?

Copy link
Owner

@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 @msokolov!

@mikemccand mikemccand merged commit b11373d into mikemccand:master Apr 25, 2023
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