[SERVER-12517] Add listIndexes command Created: 28/Jan/14  Updated: 02/Aug/18  Resolved: 18/Aug/14

Status: Closed
Project: Core Server
Component/s: Admin, Index Maintenance
Affects Version/s: None
Fix Version/s: 2.7.5

Type: Task Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-5811 Make a killCursors command Closed
related to SERVER-4898 Add a "getCollectionNames" command Closed
related to DOCS-3920 Document the listIndexes command Closed
related to DOCS-3921 Document the listIndexes privilege ac... Closed
related to SERVER-15330 Bump maxWireProtocolVersion for 2.8 f... Closed
related to SERVER-1627 add createIndexes command Closed
is related to DRIVERS-174 Add listIndexes command Closed
Tested
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Now that there is a createIndexes command, it may make sense to introduce a corresponding listIndexes command. Most drivers have helpers for both creating and enumerating indexes, and having both commands would simplify drivers in the long run, as they would no longer have to know anything about where and how indexes are stored in a MongoDB server.



 Comments   
Comment by Githook User [ 30/Oct/14 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-12517 Add listIndexes command

Add comments on command
Branch: master
https://github.com/mongodb/mongo/commit/684d2015023008f07232036a8bf54cbb6edb122d

Comment by Githook User [ 02/Oct/14 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: Add listCollections and listIndexes to set of obedient commands.

These are new commands implemented in MongoDB 2.7.5.
(SERVER-2442 and SERVER-12517.) They should be routed to members
the same as queries, since that is the prior driver behavior.
Branch: master
https://github.com/10gen/specifications/commit/fe4eab7472a4dd5c34877eeb6b5f0583e0522976

Comment by Githook User [ 23/Jul/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14378 SERVER-12517: make shell use listIndexes when available and start putting tests in mmap_v1
Branch: master
https://github.com/mongodb/mongo/commit/3038384e3cbbb0e413d9e2be2db37fda5849fdd2

Comment by Githook User [ 15/Jul/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-12517: listIndexes in mongos
Branch: master
https://github.com/mongodb/mongo/commit/f936451125d644ecdafcce64628835d64b0e5a22

Comment by Githook User [ 15/Jul/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-12517: add listIndexes command
Branch: master
https://github.com/mongodb/mongo/commit/a7d1cd78b7d56bc610d8c7f5baa8a329fb272e11

Comment by Githook User [ 15/Jul/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-12517: listIndexes in mongos
Branch: master
https://github.com/mongodb/mongo/commit/f936451125d644ecdafcce64628835d64b0e5a22

Comment by Githook User [ 15/Jul/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-12517: add listIndexes command
Branch: master
https://github.com/mongodb/mongo/commit/a7d1cd78b7d56bc610d8c7f5baa8a329fb272e11

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