Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78159

Merge DocumentSourceInternalSearchMongotRemote and DocumentSourceInternalIdLookup into DocumentSourceSearch

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Zixuan Zhuang
            Reporter:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: