Skip to content

Commit 58fc1a9

Browse files
authored
DOCSP-27178 Adding accurate document counts to agg page (#458)
* DOCSP-27178 Adding accurate document counts to agg page * * * update image * working and screenshot update * build error * ref * Internal feedback 1 * * * External Review 1 * remove steps 1,2 * step 1 optional * format * optional format * * * *
1 parent 87df321 commit 58fc1a9

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

source/aggregation-pipeline-builder.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ You can use the |compass-short| Aggregation Pipeline Builder to:
5454

5555
- :ref:`Open a saved pipeline <open-saved-pipeline>`
5656

57+
- :ref:`Set maxTimeMS for Aggregation Queries <set-maxtime-ms-agg>`
58+
5759
- :ref:`Set the documents limit or auto preview documents <use-sample-mode-or-auto-preview>`
5860

5961
- :ref:`View or change pipeline settings <change-pipeline-settings>`
@@ -70,6 +72,8 @@ You can use the |compass-short| Aggregation Pipeline Builder to:
7072

7173
- :ref:`Export a pipeline to Java, Node, C#, and Python 3 <compass-export-pipeline>`
7274

75+
- :ref:`Refresh Document Counts <refresh-document-counts>`
76+
7377
Limitations
7478
-----------
7579

@@ -370,6 +374,37 @@ To create a view from your pipeline results:
370374

371375
.. include:: /includes/fact-create-view-from-pipeline.rst
372376

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+
373408
Example
374409
-------
375410

Loading
Loading
Loading

0 commit comments

Comments
 (0)