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/builders/aggregates.txt
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Aggregates Builders
24
24
Overview
25
25
--------
26
26
27
-
In this guide, you can learn how to use the `Aggregates <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates>`__
27
+
In this guide, you can learn how to use the `Aggregates <{+core-api+}/client/model/Aggregates>`__
28
28
class which provides static factory methods that build :manual:`aggregation pipeline
29
29
stages </meta/aggregation-quick-reference/#stages>` in the MongoDB Java driver.
30
30
@@ -258,7 +258,7 @@ for each distinct grouping.
258
258
259
259
.. tip::
260
260
261
-
The driver includes the `Accumulators <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html>`__
261
+
The driver includes the `Accumulators <{+core-api+}/client/model/Accumulators.html>`__
262
262
class with static factory methods for each of the supported accumulators.
263
263
264
264
The following example creates a pipeline stage that groups documents by the value
@@ -327,7 +327,7 @@ the lowest three ``imdb.rating`` values for movies, grouped by ``year``:
327
327
:language: java
328
328
:dedent:
329
329
330
-
See the `minN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#minN(java.lang.String,InExpression,NExpression)>`__
330
+
See the `minN() API documentation <{+core-api+}/client/model/Accumulators.html#minN(java.lang.String,InExpression,NExpression)>`__
331
331
for more information.
332
332
333
333
.. _java_aggregates_max_n:
@@ -347,7 +347,7 @@ return the highest two ``imdb.rating`` values for movies, grouped by ``year``:
347
347
:language: java
348
348
:dedent:
349
349
350
-
See the `maxN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#maxN(java.lang.String,InExpression,NExpression)>`__
350
+
See the `maxN() API documentation <{+core-api+}/client/model/Accumulators.html#maxN(java.lang.String,InExpression,NExpression)>`__
351
351
for more information.
352
352
353
353
.. _java_aggregates_first_n:
@@ -375,7 +375,7 @@ into the stage, grouped by ``year``:
375
375
:language: java
376
376
:dedent:
377
377
378
-
See the `firstN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#firstN(java.lang.String,InExpression,NExpression)>`__
378
+
See the `firstN() API documentation <{+core-api+}/client/model/Accumulators.html#firstN(java.lang.String,InExpression,NExpression)>`__
379
379
for more information.
380
380
381
381
.. _java_aggregates_last_n:
@@ -396,7 +396,7 @@ the stage, grouped by ``year``:
396
396
:language: java
397
397
:dedent:
398
398
399
-
See the `lastN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#lastN(java.lang.String,InExpression,NExpression)>`__
399
+
See the `lastN() API documentation <{+core-api+}/client/model/Accumulators.html#lastN(java.lang.String,InExpression,NExpression)>`__
400
400
for more information.
401
401
402
402
.. _java_aggregates_top:
@@ -417,7 +417,7 @@ the ``title`` and ``imdb.rating`` values for the top rated movies based on the
417
417
:language: java
418
418
:dedent:
419
419
420
-
See the `top() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#top(java.lang.String,org.bson.conversions.Bson,OutExpression)>`__
420
+
See the `top() API documentation <{+core-api+}/client/model/Accumulators.html#top(java.lang.String,org.bson.conversions.Bson,OutExpression)>`__
421
421
for more information.
422
422
423
423
.. _java_aggregates_top_n:
@@ -445,7 +445,7 @@ the ``title`` and ``runtime`` values of the three longest movies based on the
445
445
:language: java
446
446
:dedent:
447
447
448
-
See the `topN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#topN(java.lang.String,org.bson.conversions.Bson,OutExpression,NExpression)>`__
448
+
See the `topN() API documentation <{+core-api+}/client/model/Accumulators.html#topN(java.lang.String,org.bson.conversions.Bson,OutExpression,NExpression)>`__
449
449
for more information.
450
450
451
451
.. _java_aggregates_bottom:
@@ -466,7 +466,7 @@ return the ``title`` and ``runtime`` values of the shortest movie based on the
466
466
:language: java
467
467
:dedent:
468
468
469
-
See the `bottom() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#bottom(java.lang.String,org.bson.conversions.Bson,OutExpression)>`__
469
+
See the `bottom() API documentation <{+core-api+}/client/model/Accumulators.html#bottom(java.lang.String,org.bson.conversions.Bson,OutExpression)>`__
470
470
for more information.
471
471
472
472
.. _java_aggregates_bottom_n:
@@ -493,7 +493,7 @@ based on the ``imdb.rating`` value, grouped by ``year``:
493
493
:language: java
494
494
:dedent:
495
495
496
-
See the `bottomN() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html#bottomN(java.lang.String,org.bson.conversions.Bson,OutExpression,NExpression)>`__
496
+
See the `bottomN() API documentation <{+core-api+}/client/model/Accumulators.html#bottomN(java.lang.String,org.bson.conversions.Bson,OutExpression,NExpression)>`__
497
497
for more information.
498
498
499
499
Unwind
@@ -734,7 +734,7 @@ into a bucket called "monster" for monstrously large screen sizes:
734
734
735
735
.. tip::
736
736
737
-
The driver includes the `Accumulators <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Accumulators.html>`__
737
+
The driver includes the `Accumulators <{+core-api+}/client/model/Accumulators.html>`__
738
738
class with static factory methods for each of the supported accumulators.
See the `fill package API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/fill/package-summary.html>`__
931
+
See the `fill package API documentation <{+core-api+}/client/model/fill/package-summary.html>`__
932
932
for more information.
933
933
934
934
Atlas Full-Text Search
@@ -955,7 +955,7 @@ field for text that contains the word "Future":
955
955
:dedent:
956
956
957
957
Learn more about the builders from the
958
-
`search package API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/search/package-summary.html>`__.
958
+
`search package API documentation <{+core-api+}/client/model/search/package-summary.html>`__.
959
959
960
960
Atlas Search Metadata
961
961
---------------------
@@ -982,4 +982,4 @@ aggregation stage:
982
982
:dedent:
983
983
984
984
Learn more about this helper from the
985
-
`searchMeta() API documentation <{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates.html#searchMeta(com.mongodb.client.model.search.SearchCollector)>`__.
985
+
`searchMeta() API documentation <{+core-api+}/client/model/Aggregates.html#searchMeta(com.mongodb.client.model.search.SearchCollector)>`__.
0 commit comments