[COMPASS-7216] The template for a $sortByCount stage is incorrect Created: 13/Sep/23 Updated: 01/Nov/23 Resolved: 01/Nov/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Autocomplete |
| Affects Version/s: | 1.39.4 |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Peter Williamson | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: macos |
||
| Documentation Changes: | Not Needed |
| Sprint: | Up for triaging |
| Description |
Problem Statement/RationaleIn the aggregation builder the template for a $sortByCount stage is:
the braces are invalid a valid stage is:
so the template should be:
** Please be sure to attach relevant logs with any sensitive data redacted. Steps to ReproduceCreate a $sortByStage in the aggregation builder Expected Resultstemplate is valid Actual ResultsError message "Stage value is invalid"
|