[DOCS-5148] Comment on: "manual/reference/method/db.collection.createIndex.txt" Created: 01/Apr/15  Updated: 03/Nov/17  Resolved: 01/Apr/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Janice Parkinson Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/method/db.collection.createIndex/#db.collection.createIndex
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/method/db.collection.createIndex


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

 Description   

Additional Information

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

this comment should probably be "rather than db.collection.ensureIndex()"



 Comments   
Comment by Kay Kim (Inactive) [ 01/Apr/15 ]

DOCS-5140

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