[SERVER-78159] Merge DocumentSourceInternalSearchMongotRemote and DocumentSourceInternalIdLookup into DocumentSourceSearch Created: 16/Jun/23  Updated: 25/Jan/24  Resolved: 11/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.2, 6.0.11

Type: Improvement Priority: Major - P3
Reporter: Zixuan Zhuang Assignee: Zixuan Zhuang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-78163 Push down DocumentSourceSearch into SBE Closed
Related
related to SERVER-85694 $searchMeta aggregation pipeline stag... Closed
related to SERVER-84224 Complete TODO listed in SERVER-78159 Backlog
is related to SERVER-79948 Fix test failure when searchReturnEof... Closed
is related to SERVER-79916 Cleanup unused members in DocumentSou... Open
is related to SERVER-80696 Fix How limit is calculated in $_inte... Closed
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-06-26, QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21
Participants:
Linked BF Score: 170

 Description   

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.



 Comments   
Comment by Githook User [ 11/Aug/23 ]

Author:

{'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}

Message: SERVER-78159 Desugar DocumentSourceSearch Only When Needed
Branch: master
https://github.com/mongodb/mongo/commit/ff0bc42f0f3ce2bcea9d4c7ac4eb8d7168a1e77f

Generated at Thu Feb 08 06:37:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.