[SERVER-61758] Adjust $search de-sugaring for stored field changes Created: 29/Nov/21 Updated: 09/Dec/21 Resolved: 29/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ted Tuckman | Assignee: | Ted Tuckman |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backport Requested: |
v5.2, v5.1, v5.0, v4.4
|
||||||||||||
| Sprint: | QO 2021-12-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The initial implementation assumed _id would always be present in a document even if 'stored' was present. In addition, the field has been renamed from 'stored' to 'storedFields'. The field name must be changed, and the $replaceRoot can probably be simplified for the _id situation. |