Our current input validation for $scoreFusion enforces that none of the input pipelines can modify the documents or their fields in any way (eg. $project, $group etc.). Because $scoreFusion gets desugared to a pipeline with stages like $group and $project that aren’t legal, nesting $scoreFusion doesn't work.
The same idea also applies to testing $rankFusion in $scoreFusion.
- is depended on by
-
SERVER-82020 Enable featureFlagSearchHybridScoring by default
-
- Open
-
-
SERVER-96025 Feature Flag Upgrade/Downgrade Testing
-
- Backlog
-
-
SERVER-100209 Save $rankFusion/$scoreFusion output score to {$meta: "score"}
-
- Backlog
-
- is related to
-
SERVER-93218 Allow nested $rankFusion
-
- Open
-