Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2801

Combine distinct and count

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.0
    • Component/s: Querying
    • Labels:
      None

      There are use cases when you don't want all the distinct values (or they don't fit in the limit), you want their number. It would be great to have and optimized command for that (as an alternative to slow Map/Reduce that creates temp collections).

            Assignee:
            Unassigned Unassigned
            Reporter:
            sergei.tulentsev@gmail.com Sergei Tulentsev
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: