File tree Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ results. Aggregation operations group values from multiple documents
15
15
together, and can perform a variety of operations on the grouped data
16
16
to return a single result. MongoDB provides three ways to perform
17
17
aggregation: the :ref:`aggregation pipeline
18
- <aggregation-framework >`, the :ref:`map-reduce function
18
+ <aggregation-pipeline >`, the :ref:`map-reduce function
19
19
<aggregation-map-reduce>`, and :ref:`single purpose aggregation methods
20
20
<single-purpose-agg-operations>`.
21
21
22
- .. _aggregation-framework :
22
+ .. _aggregation-pipeline-intro :
23
23
24
24
Aggregation Pipeline
25
25
--------------------
26
26
27
- MongoDB's :doc:`aggregation framework
27
+ MongoDB's :doc:`aggregation pipeline
28
28
</core/aggregation-pipeline>` is modeled on the concept of data
29
29
processing pipelines. Documents enter a multi-stage pipeline that
30
30
transforms the documents into an aggregated result. For example:
Original file line number Diff line number Diff line change @@ -309,3 +309,12 @@ Connection Pools
309
309
.. |newversion| replace:: 4.2
310
310
311
311
.. |oldversion| replace:: 4.0
312
+
313
+ Using Aggregation Pipelines with Clusters
314
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315
+
316
+ For more information on how sharding works with :ref:`aggregations
317
+ <aggregation-pipeline>`, read the sharding chapter in the `Practical
318
+ MongoDB Aggregations
319
+ <https://www.practical-mongodb-aggregations.com/guides/sharding.html>`__
320
+ e-book.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Definition
20
20
Takes the documents returned by the aggregation pipeline and writes
21
21
them to a specified collection. The :pipeline:`$out` operator must
22
22
be *the last stage* in the pipeline. The :pipeline:`$out` operator
23
- lets the aggregation framework return result sets of any size.
23
+ lets the aggregation pipeline return result sets of any size.
24
24
25
25
.. versionchanged:: 3.2.0
26
26
Original file line number Diff line number Diff line change @@ -38,9 +38,11 @@ Definition
38
38
(:doc:`BSON type 13 </reference/bson-types/>`).
39
39
40
40
.. important::
41
+
41
42
.. versionchanged:: 3.6
43
+
42
44
The :query:`$expr` operator allows the
43
- use of :ref:`aggregation expressions <aggregation-framework >`
45
+ use of :ref:`aggregation expressions <aggregation-expressions >`
44
46
within the query language. :query:`$expr` is faster than
45
47
:query:`$where` because it does not execute JavaScript and should
46
48
be preferred where possible.
Original file line number Diff line number Diff line change @@ -364,8 +364,16 @@ available on sharded clusters.
364
364
365
365
.. include:: /includes/extracts/transactions-committed-visibility.rst
366
366
367
+ Additional Information
368
+ ~~~~~~~~~~~~~~~~~~~~~~
367
369
368
- For details, see:
370
+ For more information on how sharding works with
371
+ :doc:`aggregations </aggregation>`, read the sharding
372
+ chapter in the `Practical MongoDB Aggregations
373
+ <https://www.practical-mongodb-aggregations.com/guides/sharding.html>`__
374
+ e-book.
375
+
376
+ See also:
369
377
370
378
- :doc:`/core/transactions`
371
379
- :doc:`/core/transactions-production-consideration`
You can’t perform that action at this time.
0 commit comments