mongodb/mongo — pull request #393 by t-carvalho (2013-03-11 17:59:46+00:00)
Title: Added distinctcount command

This is a very simple distinctcount implementation

Motivation: On a large collection we needed to count distinct items. Map/Reduce was too slow and the distinct command returned more than 16mb

I am not a C++ developer so help is very welcome