[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: |
|
||||||||||||||||||||||||||||||||||||
| 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: |