Most importantly, if we have a pipeline like [{$rankFusion: {input: {pipelines: {a: [\{$search: {scoreDetails: true}}]}}, scoreDetails: false}], we should not be able to access the scoreDetails populated by $search. We should be sure to test this when the stage with scoreDetails: true is first and not-first in the $rankFusion inputs since that changes if the stage goes at the top-level or underneath a $unionWith once desugared.
- depends on
-
SERVER-94669 Implement 'scoreDetails' for $rankFusion
-
- Closed
-
-
SERVER-99169 score cannot be used when not defined
-
- Closed
-
-
SERVER-100678 scoreDetails cannot be used when not defined
-
- Closed
-
- is related to
-
SERVER-99169 score cannot be used when not defined
-
- Closed
-