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 2.x] Allow validation for non knn index only after 2.17.0 #2343

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

VijayanB
Copy link
Member

Backport d57fdea from #2315

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.

…ect#2315)

* Allow validation for non knn index only after 2.17.0

Before 2.17.0, non knn index are allowed to create knn_vector fields with model id
and method params, however this is not allowed from 2.17.0.
Hence, to maintain backward compatibility we will not add validation
for any indices created before 2.17.0.

Signed-off-by: Vijayan Balasubramanian <[email protected]>

* Add bwc test for model id

This is applicable for index created before 2.17

Signed-off-by: Vijayan Balasubramanian <[email protected]>

---------

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB VijayanB changed the title [Backport 2.x] Allow validation for non knn index only after 2.17.0 (#2315) [Backport 2.x] Allow validation for non knn index only after 2.17.0 Dec 17, 2024
@VijayanB VijayanB marked this pull request as ready for review December 17, 2024 20:37
@VijayanB VijayanB merged commit 8bb3c39 into opensearch-project:2.x Dec 17, 2024
110 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.

3 participants