Our current input validation for $rankFusion enforces that none of the input pipelines can modify the documents or their fields in any way (eg. $project, $group etc.). Because $rankFusion gets desugared to a pipeline with stages like $group and $project that aren’t legal, nesting $rankFusion doesn't work.
- is related to
-
SERVER-93218 Allow nested $rankFusion
- Backlog