Skip to content

test: migrate KNNVectorFieldMapperUtilTests and KNNVectorFieldTypeTests from k-nn#408

Merged
reta merged 3 commits intoopensearch-project:mainfrom
kush992:mapper-tests-migrations-kb
Apr 16, 2026
Merged

test: migrate KNNVectorFieldMapperUtilTests and KNNVectorFieldTypeTests from k-nn#408
reta merged 3 commits intoopensearch-project:mainfrom
kush992:mapper-tests-migrations-kb

Conversation

@kush992
Copy link
Copy Markdown
Contributor

@kush992 kush992 commented Apr 16, 2026

Description

[Describe what this change achieves]
Migrated below tests from opensearch-project/k-nn repo.

  • KNNVectorFieldMapperUtilTests.java - Removes Array based vector serialization k-NN#2587 (this version was picked up to comply with the implementation of KNNVectorFieldMapperUtil.java in this repo.
  • KNNVectorFieldTypeTests.java - referenced the current tests in opensearch-project/k-nn to adjust tests in this repo

Related Issues

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

#393

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.

…ts from k-nn

Signed-off-by: Kush Bhalodi <kush.bhalodi@ibm.com>
@reta reta merged commit 546e73b into opensearch-project:main Apr 16, 2026
18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 16, 2026
…ts from k-nn (#408)

Signed-off-by: Kush Bhalodi <kush.bhalodi@ibm.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit 546e73b)
reta added a commit that referenced this pull request Apr 16, 2026
…ts from k-nn (#408) (#413)

(cherry picked from commit 546e73b)

Signed-off-by: Kush Bhalodi <kush.bhalodi@ibm.com>
Co-authored-by: Kush <85061303+kush992@users.noreply.github.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
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