Skip to content

Commit 244fd83

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-17460 Add deprecation warning for map reduce
1 parent 7d5065b commit 244fd83

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

source/includes/fact-use-aggregation-not-map-reduce.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
As of MongoDB 5.0 the :doc:`map-reduce</core/map-reduce>`
2+
operation is deprecated.
3+
14
An :doc:`aggregation pipeline </core/aggregation-pipeline>` provides
25
better performance and usability than a :doc:`map-reduce
36
</core/map-reduce>` operation.

source/release-notes/5.0.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ measurements over a period of time. Compared to normal collections,
8686
storing time series data in time series collections improves query
8787
efficiency and reduces disk usage for your data and indexes.
8888

89+
Deprecate Map Reduce Operation
90+
------------------------------
91+
92+
Starting in version 5.0, MongoDB deprecates the
93+
:doc:`map-reduce</core/map-reduce>` operation.
94+
95+
For examples of aggregation pipeline alternatives to map-reduce
96+
operations, see :doc:`/reference/map-reduce-to-aggregation-pipeline` and
97+
:doc:`/tutorial/map-reduce-examples`.
98+
8999
Aggregation
90100
-----------
91101

0 commit comments

Comments
 (0)