[SERVER-84652] Refactor $search code to eliminate $_internalSearchMongotRemote stage. Created: 08/Jan/24 Updated: 25/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Will Buerger | Assignee: | Backlog - Query Integration |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | qi-search, qi-tech-debt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Integration
|
||||
| Participants: | |||||
| Description |
|
DocumentSourceSearch desugars into DocumentSourceInternalSearchMongotRemote so that DocumentSourceSearch is never used in execution. We should be able to refactor this code to eliminate the extra layer of indirection that is DocumentSourceInternalSearchMongotRemote. However, now that $search is run in SBE, we can consider closing this as won't do if we can delete the classic $search implementation. |