Skip to content

[Feature][function_score] Execute a function on scores in score_mode #10049

@synhershko

Description

@synhershko

Currently score_mode only supports a basic set of operations on scores provided by the functions executed in function score query: multiply, sum, avg, first, max, min.

It will be very useful to have the ability to execute a more involved function on them instead, e.g.: _score1 + _score3 - _score2*_score5, where scores can be numbered or names after the functions order / names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>featurediscuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions