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

Command to build multiple indexes at the same time

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: