[DOCS-13849] Investigate changes in SERVER-50442: Remove ensureIndex shell function Created: 25/Aug/20  Updated: 13/Nov/23  Due: 29/Jan/21  Resolved: 23/Mar/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.9.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Dave Cuthbert (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-50442 Remove ensureIndex shell function Closed
Participants:
Days since reply: 2 years, 46 weeks, 1 day ago
Epic Link: DOCSP-9747
Story Points: 2

 Description   

Description

Downstream Change Summary

TBD once this ticket is complete.

Description of Linked Ticket

Documentation (https://docs.mongodb.com/manual/reference/method/db.collection.ensureIndex/) says that ensureIndex is an alias for createIndex. In fact this function accepts fewer arguments and has different behaviour: https://github.com/mongodb/mongo/blob/master/src/mongo/shell/collection.js#L666-L678

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'andf-mongodb', 'email': '55111344+andf-mongodb@users.noreply.github.com', 'username': 'andf-mongodb'}

Message: DOCS-13849 fix method definition to include args
Branch: v5.0
https://github.com/mongodb/docs/commit/131ebfb4267d0f83220972dac7191e4a090f472f

Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-13849 remove documentation for ensureIndex
Branch: v5.0
https://github.com/mongodb/docs/commit/0fbb687c7da979e395ac99ebfd6bdbc8c3bbcf16

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