Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4539

db.collection.createIndex() should not be deprecated

      Official drivers have deprecated ensureIndex methods in favour of createIndex (eg JAVA-1097, CSHARP-736) however the shell API notes createIndex() as deprecated since MongoDB 1.8: http://docs.mongodb.org/v2.6/reference/method/db.collection.createIndex/.

      This contradiction is confusing.

      For consistency with the driver API, createIndex() should not be marked as deprecated.

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 31 weeks, 1 day ago