Reputation: 10403
I notice that when the Map function returns one entry, then Reduce doesn't get called.
Upvotes: 1
Views: 217
Apparently MongoDB develipers decided to optimize MapReduce queries by ignoring Reduce function for unique keys as explained here.
Upvotes: 2