Merge DocumentSourceInternalSearchMongotRemote and DocumentSourceInternalIdLookup into DocumentSourceSearch

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.2, 6.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-06-26, QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21
    • 170
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we desugar DSSearch into two DS when parsing $search, planShardedSearch call is also been issued at parsing time.

      For SBE, we want to only see DSSearch at all time.

      For legacy DS code path, we'd like only DSSearch at planning time, and desugar it before execution. For sharded env, the desugar happens at mongod. The planShardedSearch is issued only when needed instead of at parsing time.

            Assignee:
            Zixuan Zhuang
            Reporter:
            Zixuan Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: