Adds support for storage engine customization of indexes to be specified at the collection level. Applies to all indexes created on a collection, including the _id index.
The WiredTiger integration layer uses this to produce a creation string with the following order of preference:
- index-specific options specified to createIndex().
- collection-wide options specified as "indexOptionDefaults" to createCollection().
- system-wide options specified by --wiredTigerIndexConfigString.
The strings are concatenated so keys specified at the system-level and not overridden at the collection-level will be applied to the index.
- is related to
-
DRIVERS-253 Add "indexOptionDefaults" to createCollection()
- Closed
- related to
-
SERVER-16960 Support dynamic storage options for record stores and indexes
- Closed
-
SERVER-55823 Check indexOptionDefaults passed at time-series collection creation time for validity.
- Closed