Skip to content

Commit 7b02741

Browse files
authored
DOCSP 32407 moving aggregation quick reference page (#5098) (#5116)
* DOCSP 32407 moving aggregation quick reference page (#5098) * DOCSP-32407 moving aggregation quick reference page * DOCSP-32407 updating redirects * DOCSP-32407 updating redirects * DOCSP-32407 updating page references * DOCSP-32407 updating page references * DOCSP-32407 updating page references * DOCSP-32407 updating page references * DOCSP-32407 changing doc to ref * DOCSP-32407 changing doc to ref * DOCSP-32407-v4.4-backport build errors * DOCSP-32407-v4.4-backport build error
1 parent b752e9b commit 7b02741

File tree

9 files changed

+22
-20
lines changed

9 files changed

+22
-20
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ An :doc:`aggregation pipeline </core/aggregation-pipeline>` provides
22
better performance and usability than a :doc:`map-reduce
33
</core/map-reduce>` operation.
44

5-
Map-reduce operations can be rewritten using :doc:`aggregation pipeline
6-
operators </meta/aggregation-quick-reference>`, such as
5+
Map-reduce operations can be rewritten using :ref:`aggregation pipeline
6+
operators <agg-pipeline-quick-ref>`, such as
77
:pipeline:`$group`, :pipeline:`$merge`, and others.
88

99
For map-reduce operations that require custom functionality, MongoDB

source/reference/aggregation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Aggregation Reference
2323
Aggregation Resources
2424
---------------------
2525

26-
:doc:`/meta/aggregation-quick-reference`
26+
:ref:`agg-pipeline-quick-ref`
2727
Quick reference card for aggregation pipeline.
2828

2929
:doc:`/reference/operator/aggregation/interface`
@@ -55,7 +55,7 @@ Aggregation Resources
5555
:titlesonly:
5656
:hidden:
5757

58-
/meta/aggregation-quick-reference
58+
/reference/aggregation-quick-reference
5959
/reference/operator/aggregation/interface
6060
/reference/aggregation-commands-comparison
6161
/reference/aggregation-variables

source/reference/map-reduce-to-aggregation-pipeline.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ An :doc:`aggregation pipeline </core/aggregation-pipeline>` provides
88
better performance and usability than a :doc:`map-reduce
99
</core/map-reduce>` operation.
1010

11-
Map-reduce operations can be rewritten using :doc:`aggregation pipeline
12-
operators </meta/aggregation-quick-reference>`, such as
11+
Map-reduce operations can be rewritten using :ref:`aggregation pipeline
12+
operators <agg-pipeline-quick-ref>`, such as
1313
:pipeline:`$group`, :pipeline:`$merge`, and others.
1414

1515
For map-reduce operations that require custom functionality, MongoDB
@@ -237,8 +237,8 @@ shows an approximate translation of ``mapFunction`` using the
237237
Examples
238238
--------
239239

240-
Various map-reduce expressions can be rewritten using :doc:`aggregation
241-
pipeline operators </meta/aggregation-quick-reference>`, such as
240+
Various map-reduce expressions can be rewritten using :ref:`aggregation
241+
pipeline operators <agg-pipeline-quick-ref>`, such as
242242
:pipeline:`$group`, :pipeline:`$merge`, and others, without requiring
243243
custom functions. However, for illustrative purposes, the following
244244
examples provide both alternatives.

source/reference/operator/aggregation.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
.. ensure that the changes to this text are reflected in /reference/operator/aggregation.txt
2-
.. ensure that the changes to this text are reflected in /meta/aggregation-quick-reference.txt
3-
with slight difference. Quick Reference contains information on different expressions,
4-
such as field paths, expression objects, etc.
1+
.. Remember to update /reference/aggregation-quick-reference.txt too.
2+
3+
Quick Reference contains information on different expressions, such
4+
as field paths, and expression objects. Make appropriate edits.
5+
6+
.. _aggregation-pipeline-operators:
57

68
==============================
79
Aggregation Pipeline Operators
@@ -16,7 +18,7 @@ The aggregation pipeline operators are compatible with MongoDB Atlas and on-prem
1618

1719
.. COMMENT - this page omits the sections on Expressions in general
1820
as well as Literals, Field Paths, and Expression Objects which
19-
are in the meta/aggregation-quick-reference.txt.
21+
are in the /reference/aggregation-quick-reference.txt.
2022
This page only focuses on operators.
2123

2224
Compatibility

source/reference/operator/query/comment.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Behavior
3232
You can use the :query:`$comment` with any expression taking a query
3333
predicate, such as the query predicate in
3434
:method:`db.collection.update()` or in the :pipeline:`$match` stage of
35-
the :doc:`aggregation pipeline </meta/aggregation-quick-reference>`.
35+
the :ref:`aggregation pipeline <agg-pipeline-quick-ref>`.
3636
For an example, see :ref:`ex-comment-agg-expression`.
3737

3838
Examples

source/reference/sql-aggregation-comparison.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ terms, functions, and concepts and the corresponding MongoDB
5757
- :pipeline:`$unionWith` (Available starting in MongoDB 4.4)
5858

5959
For a list of all aggregation pipeline and expression operators, see
60-
:doc:`/meta/aggregation-quick-reference`.
60+
:ref:`agg-pipeline-quick-ref`.
6161

6262
.. seealso::
6363

@@ -445,6 +445,6 @@ the table assume the following conditions:
445445
.. seealso::
446446

447447
- :doc:`/reference/sql-comparison`
448-
- :doc:`/meta/aggregation-quick-reference`
448+
- :ref:`agg-pipeline-quick-ref`
449449
- :method:`db.collection.aggregate()`
450450

source/release-notes/4.4.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ write custom JavaScript expressions instead of relying on
629629
.. note::
630630

631631
Even before version 4.4, various map-reduce expressions could also
632-
be rewritten using :doc:`other aggregation pipeline operators
633-
</meta/aggregation-quick-reference>`, such as :pipeline:`$group`,
632+
be rewritten using :ref:`other aggregation pipeline operators
633+
<agg-pipeline-quick-ref>`, such as :pipeline:`$group`,
634634
:pipeline:`$merge`, etc., without requiring custom functions.
635635

636636
For more information, see

source/tutorial/map-reduce-examples.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Map-Reduce Examples
1616
better performance and usability than a :doc:`map-reduce
1717
</core/map-reduce>` operation.
1818

19-
Map-reduce operations can be rewritten using :doc:`aggregation
20-
pipeline operators </meta/aggregation-quick-reference>`, such as
19+
Map-reduce operations can be rewritten using :ref:`aggregation
20+
pipeline operators <agg-pipeline-quick-ref>`, such as
2121
:pipeline:`$group`, :pipeline:`$merge`, and others.
2222

2323
For map-reduce operations that require custom functionality, MongoDB

0 commit comments

Comments
 (0)