Skip to content

Commit 70371ce

Browse files
committed
MW PR fixes 1
1 parent da07c48 commit 70371ce

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

source/fundamentals/aggregation.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ In this guide, you can learn how to use **aggregation operations** in
2020
the {+driver-short+}.
2121

2222
Aggregation operations process data in your MongoDB collections and
23-
return computed results. MongoDB's Aggregation pipeline, part of the
24-
Query API, is modeled on the concept of data processing pipelines.
25-
Documents enter a multi-staged pipeline that transforms the documents
23+
return computed results. MongoDB's aggregation pipeline, which is part of the
24+
Query API, is modeled on the concept of data-processing pipelines.
25+
Documents enter a multi-stage pipeline that transforms the documents
2626
into an aggregated result.
2727

2828
.. sharedinclude:: dbx/agg-tutorials-manual-tip.rst
@@ -34,11 +34,11 @@ into an aggregated result.
3434
Analogy
3535
~~~~~~~
3636

37-
Another way to think of aggregation is like a car factory. Within the
38-
car factory is an assembly line, along which are assembly stations with
39-
specialized tools to do a specific job, like drills and welders. Raw
40-
parts enter the factory, which are then transformed and assembled into a
41-
finished product.
37+
The functionality of an aggregation is similar to what occurs in a car
38+
factory. Within the car factory is an assembly line, along which are
39+
assembly stations with specialized tools to do a specific job, like
40+
drills and welders. Raw parts enter the factory, and the factory
41+
transforms them and assembles them into a finished product.
4242

4343
The **aggregation pipeline** is the assembly line, **aggregation
4444
stages** are the assembly stations, and **operator expressions** are the
@@ -128,9 +128,10 @@ In the following example, the aggregation pipeline:
128128
- Uses a :manual:`$group </reference/operator/aggregation/group/>` stage to group the matching documents by the ``stars``
129129
field, accumulating a count of documents for each distinct value of ``stars``.
130130

131-
.. seealso::
131+
.. tip::
132132

133-
You can build the expressions used in this example using the :ref:`aggregation builders <aggregates-builders>`.
133+
You can build the expressions used in this example by using the
134+
:ref:`aggregation builders <aggregates-builders>`.
134135

135136
.. io-code-block::
136137

0 commit comments

Comments
 (0)