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

Removes Array based vector serialization #2587

Merged

Conversation

jmazanec15
Copy link
Member

Description

Previously, we had serialized vectors via an array method. This was inefficient and deprecated and switched in #253 and released in 1.3.0. With that, we no longer serialized new segment data via the array based serializer. Now that it is 3.0, because the oldest index that can be upgraded is from 1.3.0 (https://opensearch.org/docs/latest/install-and-configure/upgrade-opensearch/index/#compatibility), we no longer need to handle array based serialization. So, we can remove all of it.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Commits are signed per the DCO using --signoff.

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.

@jmazanec15 jmazanec15 added the Maintenance Add support for new versions of OpenSearch/Dashboards from upstream label Mar 6, 2025
Previously, we had serialized vectors via an array method. This was
inefficient and remove in the opensearch-project#253 PR and launced in 1.3.0. With that,
we no longer serialized new segment data via the array based serializer.
Now that it is 3.0, because the oldest index that can be upgraded is
from 1.3.0, we no longer need to handle array based serialization. So,
we can remove all of it.

Signed-off-by: John Mazanec <[email protected]>
@jmazanec15 jmazanec15 force-pushed the remove-bwc-serialize branch from 4f7a238 to 20fac6d Compare March 6, 2025 23:30
Copy link
Member

@martin-gaievski martin-gaievski left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks Jack

@jmazanec15 jmazanec15 merged commit 9cbceee into opensearch-project:main Mar 7, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Add support for new versions of OpenSearch/Dashboards from upstream v3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants