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

CHANGES/MIGRATE entries for KnnVectorValues API change #13833

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

msokolov
Copy link
Contributor

No description provided.

Copy link
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM, should we also cover the new methods added e.g. ordToDoc , copy, getEncoding etc.? Do they actually require migration?

@msokolov
Copy link
Contributor Author

msokolov commented Sep 30, 2024

Thanks for reviewing!

ordToDoc and copy were moved from RandomAccessVectorValues; consumers will mostly just need to replace uses of that class with KnnVectorValues. As for getEncoding, yeah since it's new, there's no migration step as such related to that. I suppose it's conceivable that someone may have implemented their own subclass of Byte or FloatVectorValues and will now need to comply with the new contract, but that seems extremely expert and I don't think we'd need to cover it here?

@msokolov msokolov merged commit f2b2bfc into apache:main Sep 30, 2024
3 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.

2 participants