[SERVER-7464] Allow creation of sparse index in C++ driver by adding sparse flag to ensureIndex(...) Created: 24/Oct/12  Updated: 24/Feb/17  Resolved: 24/Feb/17

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Albert Achtenberg Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: indexing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-174 Add sparse option to ensureIndex Closed
is related to CXX-189 Add Create Index Helper Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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



 Comments   
Comment by Eric Milkie [ 24/Feb/17 ]

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.

Comment by Thomas Riccardi [ 23/May/13 ]

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).

Generated at Thu Feb 08 03:14:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.