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] Encapsulate dimension, vector data type validation/processing inside … #1983

Merged

Conversation

jmazanec15
Copy link
Member

Description

Backport #1957 to 2.x

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.

…Library

Introduces a new configuration object KNNMethodConfigContext.
The KNNMethodContext contains the user provided
information for want their index to be built like. However, it is
missing a few pieces that are defined outside of it. These
pieces are needed to validate the config and actually build the config.

This change Integrates validation of KNNMethodContexts with
KNNMethodConfigContext and better encapsulates KNNLibrary
config info in the engine package

Signed-off-by: John Mazanec <[email protected]>
@jmazanec15 jmazanec15 merged commit ee534fb into opensearch-project:2.x Aug 16, 2024
99 of 100 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