Add "indexOptionDefaults" to createCollection()

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Quint Iteration 7
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:

      1. index-specific options specified to createIndex().
      2. collection-wide options specified as "indexOptionDefaults" to createCollection().
      3. 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.

              Assignee:
              Max Hirschhorn
              Reporter:
              Daniel Pasette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: