[SERVER-62973] Investigate/consider making $$SEARCH_META not global and scoped to individual pipelines Created: 25/Jan/22 Updated: 06/Dec/22 Resolved: 07/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ted Tuckman | Assignee: | Backlog - Query Optimization |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
Right now a single $search stage populates $$SEARCH_META in the outer pipeline and the $unionWith sub-pipeline. Should we change the scope of the variable to the pipeline in which the $search stage appears? |