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

Provide operation to determine if an index exists

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • Query 11 (03/14/16)

      I'm currently using the python driver.
      I keep a list of indexes per collection in memory using the IndexModel object.
      Before starting any operation, I'd like to check that my indexes are in place.

      I'd like to be able to ask the server if my indexes exist per collection. Or have `getIndexes` return a stable document that I can compare against.

      Discussion started @github with the following pull request..

      https://github.com/mongodb/mongo-python-driver/pull/299

            Assignee:
            Unassigned Unassigned
            Reporter:
            estobbart Eric Stobbart
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: