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

Commits on Feb 27, 2024

  1. Support optional function score variant (#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>
    github-actions[bot] committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    6d1c46d View commit details
    Browse the repository at this point in the history