[SERVER-31292] Explain of a $match agg stage does not reflect optimizations Created: 27/Sep/17 Updated: 30/Oct/23 Resolved: 31/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Query 2017-10-23, Query 2017-11-13 |
| Participants: |
| Description |
|
The DocumentSourceMatch entry in an explain document gets created by the DocumentSourceMatch::serialize() method, but that function outputs the original query input, rather than the resulting MatchExpression, meaning that any optimizations to the MatchExpression do not appear in the explain output. |
| Comments |
| Comment by Githook User [ 31/Oct/17 ] |
|
Author: {'email': 'golden.janna@gmail.com', 'name': 'jannaerin', 'username': 'jannaerin'}Message: |