You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/fundamentals/aggregation.txt
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,9 @@ Using ``aggregation`` operations, you can:
43
43
- summarize data
44
44
- group values
45
45
46
-
Aggregation operations have some :manual:`limitations <core/aggregation-pipeline-limits/>` you must keep in mind:
46
+
Aggregation operations have some :manual:`limitations </core/aggregation-pipeline-limits/>` you must keep in mind:
47
47
48
-
- Returned documents must not violate the :manual:`BSON document size limit </reference/limits/#BSON-Document-Size>`
48
+
- Returned documents must not violate the :manual:`BSON document size limit </reference/limits/#mongodb-limit-BSON-Document-Size>`
49
49
of 16 megabytes.
50
50
51
51
- Pipeline stages have a memory limit of 100 megabytes by default. If required, you may exceed this limit by using
@@ -54,7 +54,7 @@ Aggregation operations have some :manual:`limitations <core/aggregation-pipeline
54
54
55
55
.. important:: ``$graphLookup`` exception
56
56
57
-
The :manual:`$graphLookup </operator/aggregation/graphLookup/>` stage has a strict memory limit of 100 megabytes
57
+
The :manual:`$graphLookup </reference/operator/aggregation/graphLookup/>` stage has a strict memory limit of 100 megabytes
58
58
and will ignore ``allowDiskUse``.
59
59
60
60
Useful References
@@ -115,21 +115,23 @@ Insert the Data
115
115
Basic Aggregation Example
116
116
~~~~~~~~~~~~~~~~~~~~~~~~~
117
117
118
-
To perform an aggregation, pass a list of aggregation stages to the `MongoCollection.aggregate() <https://mongodb.github.io/mongo-java-driver/4.2/apidocs/mongodb-driver-core/com/mongodb/client/MongoCollection.html#aggregate(com.mongodb.client.ClientSession,java.util.List,java.lang.Class)>`__
118
+
To perform an aggregation, pass a list of aggregation stages to the
The Java driver provides the `Aggregates <https://mongodb.github.io/mongo-java-driver/4.2/apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates.html>`__
0 commit comments