[SERVER-25509] Use the SingleDocumentTransformation framework for $replaceRoot Created: 09/Aug/16 Updated: 02/Sep/16 Resolved: 15/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.12 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Carly Robison | Assignee: | Carly Robison |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
$project and $addFields are both aliases for a document source that implements optimizations for 1:1 transformations. Since $replaceRoot is also a 1:1 transformation, we can leverage these shared optimizations. |
| Comments |
| Comment by Githook User [ 15/Aug/16 ] |
|
Author: {u'username': u'carlyrobison', u'name': u'Carly Robison', u'email': u'crobison@caltech.edu'}Message: |