Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
JAVA-1097 deprecate ensureIndex() methods
-
- Closed
-
-
CSHARP-736 Don't cache EnsureIndex and deprecate CreateIndex
-
- Closed
-
- related to
-
DOCS-4540 db.collection.ensureIndex() should be deprecated
-
- Closed
-