[DOCS-5140] Weird message about index in the createIndex page Created: 31/Mar/15  Updated: 31/Mar/15  Resolved: 31/Mar/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-3.0
Fix Version/s: mongodb-3.0

Type: Improvement Priority: Minor - P4
Reporter: Tugdual Grall Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Online documentation: http://docs.mongodb.org/manual/reference/method/db.collection.createIndex/#db.collection.createIndex


Participants:
Days since reply: 8 years, 46 weeks, 1 day ago

 Description   

In the page :
http://docs.mongodb.org/manual/reference/method/db.collection.createIndex/#db.collection.createIndex

We can read the following sentence:

Use db.collection.createIndex() rather than db.collection.createIndex() to create new indexes.

I do not want to provide any fix, since I am not sure what's this message is about.
Source:

https://github.com/mongodb/docs/blob/0198b5c74a740a9fd85ecc5bd8b3ac4aefde7d2b/source/reference/method/db.collection.createIndex.txt#L139-L140



 Comments   
Comment by Githook User [ 31/Mar/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-5140 fix typo
Branch: master
https://github.com/mongodb/docs/commit/13ffa1bb7fa413137ff53c6d2323859fbcd6d549

Comment by Kay Kim (Inactive) [ 31/Mar/15 ]

will update. I think people wanted to users to use createIndex instead of the ensureIndex() method and must have copied/pasted incorrectly, or after pasting, forgot to update the method name. thanks for pointing out.

Comment by Tugdual Grall [ 31/Mar/15 ]

Coming from:
https://twitter.com/jcolfej/status/582915856218230784

Generated at Thu Feb 08 07:49:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.