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

Backport derived source feature to main #2500

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

jmazanec15
Copy link
Member

Description

Backports

Additionally, makes necessary update to new codec.

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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 and others added 2 commits February 6, 2025 11:55
…#2449)

Generates the vector source in the source field from the
KnnVectorsFormat or BVD. It does this by adding StoredFieldsFormat to
our existing custom codec.

Currently, feature is experimental and behind a feature flag via index
setting. In the future, we need to iterate to improve performance
and stability for nested/object portions.

Signed-off-by: John Mazanec <jmazane@amazon.com>
…ch-project#2474)

Signed-off-by: John Mazanec <jmazane@amazon.com>
(cherry picked from commit abae323)

Co-authored-by: John Mazanec <jmazane@amazon.com>
navneet1v
navneet1v previously approved these changes Feb 6, 2025
Fixes a bug in the derived source writer where we are reading the entire
bytes array from the bytes ref instead of just the offset+length.

Along with that, touches up the ParentChildHelper (no prod impact) and
also adds some unit tests.

Signed-off-by: John Mazanec <jmazane@amazon.com>
@jmazanec15 jmazanec15 merged commit aa3551b into opensearch-project:main Feb 6, 2025
32 of 35 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.

4 participants