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

Support hashed fields in compound indexes and compound shard keys

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Case:

      Description

      Provide ability to have hashed fields in compound indexes.

      For example:

      db.collection.ensureIndex({a : 'hashed', b : 1})

      Required for compound shard keys where one of the fields needs to be hashed for even distribution across the cluster.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                42 Vote for this issue
                Watchers:
                48 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: