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

Allow creation of sparse index in C++ driver by adding sparse flag to ensureIndex(...)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      The C++ driver ensureIndex interface lacks the sparse index option that is available

        Issue Links

          Activity

          Hide
          trsystran Thomas Riccardi added a comment -

          Other options described in http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/ are missing too:
          dropDups, and options related to new Text index (2.4).

          Show
          trsystran Thomas Riccardi added a comment - Other options described in http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/ are missing too: dropDups, and options related to new Text index (2.4).
          Hide
          milkie Eric Milkie added a comment -

          Currently, the legacy C++ driver is currently only getting critical bug/security fixes, not new features.
          We encourage users to migrate to the new 'mongocxx' driver for much greater stability, configurability and support for new MongoDB server features.
          See the C++ driver docs site for details on mongocxx.

          Show
          milkie Eric Milkie added a comment - Currently, the legacy C++ driver is currently only getting critical bug/security fixes, not new features. We encourage users to migrate to the new 'mongocxx' driver for much greater stability, configurability and support for new MongoDB server features. See the C++ driver docs site for details on mongocxx.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: