Guys, I’m not getting sorting the top 20 commenter in my pipeline.
I’ve tried in Compass first, so I wrote my $lookup, then $unwind to transform the mostActive Array in Object and then $sort, but in this one I receive the following error:
Error in $cursor stage :: caused by :: operation exceeded time limit
Anyone can hep me fixing this issue?