From 988e5df5a06d19faf6b5c6bf0948c4f999a9c98b Mon Sep 17 00:00:00 2001 From: Richard Kreuter Date: Sun, 9 Sep 2012 15:56:41 -0400 Subject: [PATCH] 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. --- source/reference/method/reIndex.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/method/reIndex.txt b/source/reference/method/reIndex.txt index 800848309ff..e3f3c195576 100644 --- a/source/reference/method/reIndex.txt +++ b/source/reference/method/reIndex.txt @@ -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