[DRIVERS-194] add support for storage options to createIndex Created: 19/Nov/14  Updated: 15/May/19  Resolved: 21/Jun/16

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Barrie Segal Assignee: Barrie Segal
Resolution: Done Votes: 0
Labels: newdriver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-1108 Add support for storage options to Cr... Closed
depends on RUST-156 add support for storage options to cr... Closed
depends on PYTHON-792 Update create_collection, create_inde... Closed
depends on RUBY-837 Update create_collection, create_inde... Closed
depends on CDRIVER-470 Add support for storage options to in... Closed
Related
related to PHPLIB-63 Index creation methods Closed
related to SERVER-16233 add support for storage options to cr... Closed
is related to DRIVERS-195 Support new storage engine options fo... Closed
Driver Compliance:
Key Status/Resolution FixVersion
CSHARP-1108 Done 1.10, 2.0
PYTHON-792 Done 2.8, 3.0
RUBY-837 Done 1.12, 2.0.0
PERL-465 Done 0.707.1.0, 1.0.0
CDRIVER-470 Done 1.1.0
RUST-156 Done
SWIFT-467 Done

 Description   

The server is adding new storage options to the createIndex command. Drivers with createIndex/ensureIndex/etc. helpers must support them. Most drivers accept arbitrary options for these helpers so shouldn't have anything to do other than make sure documentation about supported options is up to date.

Drivers that have builders for these helpers, or that validate all options will have to explicitly add support for these new options. Watch SERVER-16233 for details about new options.

Please Validate



 Comments   
Comment by Andrew Morrow (Inactive) [ 03/Mar/15 ]

Validating for C++11 since validated for C

Comment by Andrew Morrow (Inactive) [ 25/Nov/14 ]

Legacy C++ driver supports adding arbitrary options to index "spec": https://github.com/mongodb/mongo-cxx-driver/blob/c455cd0b305c2626a20ebbcfc191f76460384826/src/mongo/client/index_spec.h#L187-L191

Generated at Thu Feb 08 08:20:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.