[SERVER-31639] Additional optimizations for MatchExpression::getOptimizer() Created: 19/Oct/17 Updated: 30/Oct/23 Resolved: 21/Dec/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | Nicholas Zolnierz |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Query 2017-12-18, Query 2018-01-01 | ||||||||
| Participants: | |||||||||
| Description |
|
We could simplify a lot of JSON Schema expressions if we replaced AND expressions that include a contradiction with {alwaysFalse: 1}and OR expression that contain a tautology with {alwaysTrue: 1}. |
| Comments |
| Comment by Githook User [ 20/Dec/17 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: |