Skip to content

[Backport 2.17] Fix mode/comp params so parameter overrides work#2085

Merged
jmazanec15 merged 1 commit into2.17from
backport/backport-2083-to-2.17
Sep 10, 2024
Merged

[Backport 2.17] Fix mode/comp params so parameter overrides work#2085
jmazanec15 merged 1 commit into2.17from
backport/backport-2083-to-2.17

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 270ac6a from #2083

PR adds capability to override parameters when specifying mode and
compression. In order to do this, I add functionality for creating a
deep copy of KNNMethodContext and MethodComponentContext so that we
wouldnt overwrite user provided config. Then, re-arranged some of the
parameter resolution logic.

Signed-off-by: John Mazanec <jmazane@amazon.com>
(cherry picked from commit 270ac6a)
@jmazanec15 jmazanec15 merged commit 009c8f3 into 2.17 Sep 10, 2024
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