@@ -54,6 +54,8 @@ You can use the |compass-short| Aggregation Pipeline Builder to:
54
54
55
55
- :ref:`Open a saved pipeline <open-saved-pipeline>`
56
56
57
+ - :ref:`Set maxTimeMS for Aggregation Queries <set-maxtime-ms-agg>`
58
+
57
59
- :ref:`Set the documents limit or auto preview documents <use-sample-mode-or-auto-preview>`
58
60
59
61
- :ref:`View or change pipeline settings <change-pipeline-settings>`
@@ -70,6 +72,8 @@ You can use the |compass-short| Aggregation Pipeline Builder to:
70
72
71
73
- :ref:`Export a pipeline to Java, Node, C#, and Python 3 <compass-export-pipeline>`
72
74
75
+ - :ref:`Refresh Document Counts <refresh-document-counts>`
76
+
73
77
Limitations
74
78
-----------
75
79
@@ -370,6 +374,37 @@ To create a view from your pipeline results:
370
374
371
375
.. include:: /includes/fact-create-view-from-pipeline.rst
372
376
377
+ .. _refresh-document-counts:
378
+
379
+ Refresh Document Counts
380
+ -----------------------
381
+
382
+ When you delete or add a document, the :guilabel:`count results` value
383
+ on the :guilabel:`Aggregations` tab does not automatically update to
384
+ reflect the new document count.
385
+
386
+ To update the :guilabel:`count results`:
387
+
388
+ .. procedure::
389
+ :style: normal
390
+
391
+ .. step:: **(Optional)** If the results have not been counted, click
392
+ the :guilabel:`count results` link.
393
+
394
+ .. figure:: /images/compass/agg-builder-click-count-results.png
395
+ :alt: Click the count results link
396
+
397
+ .. step:: Click the refresh button.
398
+
399
+ .. figure:: /images/compass/agg-builder-click-refresh-button.png
400
+ :alt: Click the refresh button
401
+
402
+ |compass-short| updates the :guilabel:`count results` and displays
403
+ the updated number of documents in the collection.
404
+
405
+ .. figure:: /images/compass/agg-builder-show-document-count.png
406
+ :alt: Show current document counts
407
+
373
408
Example
374
409
-------
375
410
0 commit comments