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] Support optional function score variant #881

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 045c805 from #880.

* Support optional function score variant

This commit supports function score functions with an
optional function variant. The function is optional as it
is perfectly valid to have a function with only a weight e.g.
a function score query with multiple functions and a score mode
of "first", where the last weight function acts as some default value.

Closes #820

Signed-off-by: Russ Cam <russcam@canva.com>

* Address CI build issues

Signed-off-by: Russ Cam <russcam@canva.com>

* remove changelog entry for 3.0

Signed-off-by: Russ Cam <russcam@canva.com>

---------

Signed-off-by: Russ Cam <russcam@canva.com>
(cherry picked from commit 045c805)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@VachaShah VachaShah merged commit 1b2ff84 into 2.x Feb 27, 2024
86 checks passed
@github-actions github-actions bot deleted the backport/backport-880-to-2.x branch February 27, 2024 04:21
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
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.

1 participant