-
Type:
Bug
-
Status: Closed
-
Priority:
Minor - P4
-
Resolution: Fixed
-
Affects Version/s: 2.6.1, 2.7.0
-
Component/s: Aggregation Framework
-
Labels:
-
Operating System:ALL
-
Backport Completed:
-
Steps To Reproduce:
If you use an invalid sort-key value with the $sort pipeline operator, you receive this error message:
--> "exception: $sort key ordering must be specified using a number or {$meta: 'text'}"
The message should say {$meta: 'textScore'} instead of {$meta: 'text'}.
Version: 99fa4e6058a24d6c4d7fde19ce940719c5bbc210
- links to