The current error message states:
2018-01-22T13:38:07.220-0500 E QUERY [thread1] Error: command failed: {
"ok" : 0,
"errmsg" : "cannot sort with keys that are parallel arrays",
"code" : 2,
"codeName" : "BadValue"
} : aggregate failed :
I would suggest removing the term parallel array for something more user-friendly, like "cannot sort on multiple fields containing arrays"
- is related to
-
SERVER-32839 Aggregation sorts on multiple array fields produce error in 3.6
-
- Closed
-
- links to