Skip to content

Commit daad3c7

Browse files
authored
Docsp 19108 v4.4 (#697)
* DOCSP-19108 update aggregation-framework -> aggregation-pipeline-intro (#686) * DOCSP-19108 update aggregation-framework -> aggregation-pipeline-intro * CR1 * CR 1.5 * removing timeseries-collections.txt * rearranging sharding additional info * fix bullets on sharding additional info
1 parent 3d17de6 commit daad3c7

File tree

5 files changed

+32
-13
lines changed

5 files changed

+32
-13
lines changed

source/aggregation.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ results. You can use aggregation operations to:
2121

2222
To perform aggregation operations, you can use:
2323

24-
- :ref:`Aggregation pipelines <aggregation-framework>`
24+
- :ref:`Aggregation pipelines <aggregation-pipeline-intro>`
2525

2626
- :ref:`Single purpose aggregation methods
2727
<single-purpose-agg-operations>`
2828

2929
- :ref:`Map-reduce functions <aggregation-map-reduce>`
3030

31-
.. _aggregation-framework:
31+
.. _aggregation-pipeline-intro:
3232

3333
Aggregation Pipelines
3434
---------------------
@@ -85,6 +85,10 @@ pipeline.
8585

8686
.. include:: /images/distinct.rst
8787

88+
The single purpose aggregation methods are simple but lack the
89+
capabilities of an :ref:`aggregation pipeline
90+
<aggregation-pipeline-intro>`.
91+
8892
.. _aggregation-map-reduce:
8993

9094
Map-Reduce

source/core/sharded-cluster-query-router.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,12 @@ Connection Pools
379379
.. |newversion| replace:: 4.2
380380

381381
.. |oldversion| replace:: 4.0
382+
383+
Using Aggregation Pipelines with Clusters
384+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
385+
386+
For more information on how sharding works with :ref:`aggregations
387+
<aggregation-pipeline>`, read the sharding chapter in the `Practical
388+
MongoDB Aggregations
389+
<https://www.practical-mongodb-aggregations.com/guides/sharding.html>`__
390+
e-book.

source/reference/operator/aggregation/function.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ Alternative to ``$where``
134134
The query operator :query:`$where` can also be used to specify
135135
JavaScript expression. However:
136136

137-
- Starting in MongoDB 3.6, the :query:`$expr` operator allows the use
138-
of :ref:`aggregation expressions <aggregation-framework>` within the
137+
- The :query:`$expr` operator allows the use of
138+
:ref:`aggregation expressions <aggregation-expressions>` within the
139139
query language.
140-
140+
141141
- Starting in MongoDB 4.4, the :expression:`$function` and
142142
:group:`$accumulator` allows users to define custom aggregation
143143
expressions in JavaScript if the provided :doc:`pipeline operators
@@ -230,9 +230,8 @@ Example 2: Alternative to ``$where``
230230

231231
.. note:: Aggregation Alternatives Preferred over ``$where``
232232

233-
234-
Starting in MongoDB 3.6, the :query:`$expr` operator allows the use
235-
of :ref:`aggregation expressions <aggregation-framework>` within the
233+
The :query:`$expr` operator allows the use of
234+
:ref:`aggregation expressions <aggregation-expressions>` within the
236235
query language. And, starting in MongoDB 4.4, the
237236
:expression:`$function` and :group:`$accumulator` allows users to
238237
define custom aggregation expressions in JavaScript if the provided

source/reference/operator/query/where.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ Definition
4040

4141
.. note:: Aggregation Alternatives Preferred
4242

43-
44-
Starting in MongoDB 3.6, the :query:`$expr` operator allows the use
45-
of :ref:`aggregation expressions <aggregation-framework>` within the
46-
query language. And, starting in MongoDB 4.4, the
43+
The :query:`$expr` operator allows the use of
44+
:ref:`aggregation expressions <aggregation-expressions>` within
45+
the query language. And, starting in MongoDB 4.4, the
4746
:expression:`$function` and :group:`$accumulator` allows users to
4847
define custom aggregation expressions in JavaScript if the provided
4948
:doc:`pipeline operators </reference/operator/aggregation>` cannot

source/sharding.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,16 @@ available on sharded clusters.
382382

383383
.. include:: /includes/extracts/transactions-committed-visibility.rst
384384

385+
Additional Information
386+
~~~~~~~~~~~~~~~~~~~~~~
385387

386-
For details, see:
388+
For more information on how sharding works with
389+
:doc:`aggregations </aggregation>`, read the sharding
390+
chapter in the `Practical MongoDB Aggregations
391+
<https://www.practical-mongodb-aggregations.com/guides/sharding.html>`__
392+
e-book.
393+
394+
See also:
387395

388396
- :doc:`/core/transactions`
389397
- :doc:`/core/transactions-production-consideration`

0 commit comments

Comments
 (0)