Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/reference/method/reIndex.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=========
reIndex()
db.collection.reIndex()
=========

.. default-domain:: mongodb

.. method:: reIndex()
.. method:: db.collection.reIndex()

This method drops all indexes and recreates them. This operation
may be expensive for collections that have a large amount of data
Expand Down