Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7946

Command to build multiple indexes at the same time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Index Maintenance
    • ALL

    Description

      Allow simultaneous creation of multiple indexes (same as done during initial sync or repair) via ensureIndex. This would be useful when creating multiple indexes on the same collection without having to do multiple passes.

      ensureIndexes([{{keys1},{options1}}, {{keys2},{options2}}])

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steve.briskin Steve Briskin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: