[SERVER-80816] Do not produce search metadata if it is not used Created: 06/Sep/23 Updated: 09/Jan/24 Resolved: 09/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| 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-12-25, QE 2024-01-08, QE 2024-01-22 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Detect if $meta is used in the query, and not to produce search metadata slots if it is not used. It is hard because $meta can be used in non-pushdown pipeline stages, but the SBE plan is cached before when $meta is not used (the SBE query is same). |
| Comments |
| Comment by Githook User [ 09/Jan/24 ] |
|
Author: {'name': 'Zixuan', 'email': 'leozzx@users.noreply.github.com', 'username': 'leozzx'}Message: GitOrigin-RevId: d0b800ce64257517e981d49eeca29833adf9d83e |
| Comment by Zixuan Zhuang [ 07/Nov/23 ] |
|
Remove from Epic PM-3351, will work on this later. |