@@ -112,35 +112,31 @@ your chosen view mode:
112
112
.. procedure::
113
113
:style: normal
114
114
115
- .. step:: In the aggregation pipeline pane, ensure the
115
+ .. step:: Select the :guilabel:`Stage` view.
116
+
117
+ In the aggregation pipeline pane, ensure the
116
118
:guilabel:`{} Stages` toggle switch is selected.
117
119
118
120
.. figure:: /images/compass/agg-builder-stageview-toggle-on.png
119
121
:alt: Toggle on stage view mode
120
122
121
- .. step:: At the bottom of the aggregation pipeline pane, select the
122
- :guilabel:`+ Add Stage` button to open a new aggregation stage
123
- modal.
123
+ .. step:: Add an aggregation stage.
124
+
125
+ At the bottom of the aggregation pipeline pane, click the
126
+ :guilabel:`+ Add Stage` button.
127
+
128
+ .. step:: Select an aggregation pipeline stage.
124
129
125
- .. step:: At the lower -left corner of the aggregation pipeline pane ,
126
- click the :guilabel:`Select...` dropdown and select the
130
+ On the upper -left corner of the aggregation stage card ,
131
+ click the :guilabel:`Select` drop-down menu and select the
127
132
:manual:`aggregation pipeline stage
128
133
</reference/operator/aggregation-pipeline/>` to use for the first
129
134
stage of the pipeline.
130
135
131
- .. step:: Fill in your selected pipeline stage.
136
+ .. step:: Fill in your pipeline stage.
132
137
133
- If you enable :guilabel:`Preview`, preview documents update
134
- automatically to the right of the stage to reflect the results of
135
- your pipeline as it progresses. You can adjust the width of the
138
+ Fill in your selected stage. You can adjust the width of the
136
139
pipeline stage by dragging its border to the right.
137
-
138
- .. figure:: /images/compass/agg-builder-match-stage.png
139
- :alt: Aggregation Builder match stage example
140
-
141
- .. step:: Click :guilabel:`Add Stage` to add additional aggregation
142
- stages below your most recently added aggregation stage. Repeat
143
- steps 1 and 2 for each additional stage.
144
140
145
141
.. note::
146
142
@@ -154,18 +150,27 @@ your chosen view mode:
154
150
155
151
.. figure:: /images/compass/agg-builder-exclude-stage-example.png
156
152
:alt: Aggregation Builder exclude stage example
157
-
158
- .. step:: Click :guilabel:`Run` at the top right of the pipeline
159
- builder. |compass-short| returns your results in the document view.
153
+
154
+ .. step:: Add additional pipeline stages.
160
155
161
- .. warning::
162
-
163
- When you click :guilabel:`Run`, the aggregation runs against the
164
- entire collection.
156
+ To add an additional pipeline stage after your last aggregation
157
+ stage, click :guilabel:`Add Stage`. To add an aggregation stage
158
+ before your most recently added stage, click the :guilabel:`+` icon
159
+ above the stage card.
160
+
161
+ Repeat steps 3 and 4 for each additional stage.
162
+
163
+ .. note::
164
+
165
+ You can change the order of pipeline stages by dragging
166
+ the header of each stage card.
165
167
166
- .. step:: To edit the pipeline, click :guilabel:`Edit` at the top of
167
- your pipeline toolbar to return to the aggregation pipeline builder
168
- and make changes to your pipeline.
168
+ .. step:: Run the pipeline.
169
+
170
+ At the top-right corner of the pipeline builder, click
171
+ :guilabel:`Run`.
172
+
173
+ |compass-short| returns your results in the document view.
169
174
170
175
.. tab:: Focus Mode
171
176
:tabid: focus
@@ -197,7 +202,7 @@ your chosen view mode:
197
202
198
203
.. step:: Select an aggregation pipeline stage.
199
204
200
- Click the :guilabel:`Select` dropdown and select the
205
+ Click the :guilabel:`Select` drop-down menu and select the
201
206
:manual:`aggregation pipeline stage
202
207
</reference/operator/aggregation-pipeline/>` to use for the first
203
208
stage of the pipeline.
@@ -238,7 +243,7 @@ your chosen view mode:
238
243
.. step:: Navigate between stages.
239
244
240
245
To navigate between different stages, select the stage you
241
- want to edit from the :guilabel:`Stage` dropdown in the upper-right
246
+ want to edit from the :guilabel:`Stage` dropdown in the upper-left
242
247
corner of the Focus Mode modal.
243
248
244
249
You can navigate between stages with the following keyboard
0 commit comments