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

Faceting support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.14
    • Component/s: Indexing
    • Labels:
      None

      Description

      Issue Status as of Sep 20, 2016

      As of version 3.3.13, MongoDB supports faceting via several new aggregation stages:

      Preview documentation can be found via our Release Notes for Development Series 3.3.x.

      Original Description.

      It would be nice if mongoDB offered facetting over values.
      E.g. an easy way to find out which values exist for a certain field
      It could look like this:
      db.my_collection.facet(

      {"country":1}

      )
      -->

      {"Germany":12,"USA":9, "France": 5, }

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                31 Vote for this issue
                Watchers:
                31 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: