[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: |
|
||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||
| 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 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 |