Compute Mathematical Expression
Compute a mathematical expression for each response document
Compute a mathmatical expression for each response document
skip - boolean
Set to true to skip this stage.
Default: false
label - string
A unique label for this stage.
<= 255 characters
condition - string
Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.
expression - stringrequired
Can reference fields in response document, as well as max_[field name] and min_[field name]
>= 1 characters
Default: 0.3 * score / max_score + 0.7 * vectors_distance
resultFieldName - stringrequired
Results of math expression stored in this field
>= 1 characters
Default: ensemble_score