View definitions with stages that include $rankFusion with subpipelines are not getting disallowed

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-101781 we added validation to reject $rankFusion stages in view definition pipelines. However, we didn't add any logic to catch $rankFusion being a subpipeline in a stage of a view definition, e.g. a $lookup or a $unionWith. This could potentially trigger a subpipeline cycle similar to that in BF-38095.

      While we're at it, we should also disallow $score inside view definition subpipelines to stay in line with SERVER-106204.

              Assignee:
              Mariano Shaar
              Reporter:
              Mariano Shaar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: