Skip to content

Commit 988e5df

Browse files
author
Richard Kreuter
committed
The reIndex method is on the collection.
Note: AFAICT, this change will break a URL, but will make the URL for reIndex more consistent with the URLs for other collection methods.
1 parent 3eb1ca9 commit 988e5df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/method/reIndex.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=========
2-
reIndex()
2+
db.collection.reIndex()
33
=========
44

55
.. default-domain:: mongodb
66

7-
.. method:: reIndex()
7+
.. method:: db.collection.reIndex()
88

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

0 commit comments

Comments
 (0)