File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ Definition
15
15
16
16
.. dbcommand:: reIndex
17
17
18
+ .. deprecated:: 6.0
19
+
20
+ Attempting to run the :dbcommand:`db.collection.reIndex()` command
21
+ writes a warning message to the log.
22
+
18
23
The :dbcommand:`reIndex` command drops all indexes on a
19
24
collection and recreates them. This operation may be expensive for
20
25
collections that have a large amount of data and/or a large number
Original file line number Diff line number Diff line change @@ -14,11 +14,14 @@ Definition
14
14
----------
15
15
16
16
.. method:: db.collection.reIndex()
17
-
17
+
18
+ .. deprecated:: 6.0
19
+
20
+ Attempting to run the :method:`db.collection.reIndex()` method
21
+ writes a warning message to the log.
18
22
19
23
.. include:: /includes/fact-mongosh-shell-method.rst
20
24
21
-
22
25
The :method:`db.collection.reIndex()` drops all indexes on a
23
26
collection and recreates them. This operation may be expensive for
24
27
collections that have a large amount of data and/or a large number
Original file line number Diff line number Diff line change @@ -19,3 +19,26 @@ Time Series Collections
19
19
-----------------------
20
20
21
21
.. include:: /includes/time-series-secondary-indexes-downgrade-FCV.rst
22
+
23
+ General Changes
24
+ ---------------
25
+
26
+ Deprecations
27
+ ~~~~~~~~~~~~
28
+
29
+ .. list-table::
30
+ :widths: 20 80
31
+ :header-rows: 1
32
+
33
+ * - Deprecated
34
+
35
+ - Description
36
+
37
+ * - :method:`db.collection.reIndex()`
38
+
39
+ - The :method:`db.collection.reIndex()` method is deprecated in
40
+ MongoDB v6.0.
41
+
42
+ * - :dbcommand:`reIndex`
43
+
44
+ - The :dbcommand:`reIndex` command is deprecated in MongoDB v6.0.
You can’t perform that action at this time.
0 commit comments