The $sigmoid expression has the following behavior:
"sigmoid" - apply 1 / (1 + e^-x) where x is the score
"sigmoid" is one of the options that can be specified for the the "normalizeFunction" field on $score. The options span the following: "none", "sigmoid", and "minMaxScaler" (the last is being implemented in separate ticket 94599 ) where "sigmoid" is the default.
"weight" field has the following behavior: A number to multiply the 'score' expression by, after normalization.
Both "normalizeFunction" and "weight" are optional fields for $score stage.
- depends on
-
SERVER-94598 Add $score stage for hybrid search
- Closed