-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
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.
- 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