[SERVER-66547] Implement simple agg comparison for new optimizer Created: 18/May/22 Updated: 29/Oct/23 Resolved: 19/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Svilen Mihaylov (Inactive) | Assignee: | Svilen Mihaylov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Implement simple comparison, conjunction and disjunction.
For example handle the following: $match: color:#660e7a}$expr: {{color:#660e7a}$or: : [{{color:#660e7a}$eq: ["$a", 1]}, {{color:#660e7a}$eq: ["$b", 2" target="_blank" rel="noopener">{{color:#660e7a}$and: [{{color:#660e7a}$eq: ["$a", 1]}, {{color:#660e7a}$eq: ["$b", 2}]},{{color:#660e7a}$eq: ["$c", 3]},] |