$rankFusion scoreDetails should error if not requested by top-level pipeline (but specified in inner)

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Will Buerger
              Reporter:
              Will Buerger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: