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

Custom default indexes per DB

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Some projects (like mine) use collections to separate some data realms. Users are free to create a new realm via API and we in turn create a new collection (one per realm). The problem we have is that we need to have a separate component that creates a set of indices used by our app as the API itself does not know them. It would be handy if one could specify a set of indices for all newly created collections within a DB (instead of just the index on _id). 

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            wojciech.waga@gmail.com Wojciech Waga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: