Skip to content

Commit 7ae94d0

Browse files
committed
edits
1 parent 311e4f6 commit 7ae94d0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/aggregation.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ your data.
6363
* - Find Operations
6464
- Aggregation Operations
6565

66-
* - | Select *certain* documents to return
67-
| Select *which* fields to return
66+
* - | Select certain documents to return
67+
| Select which fields to return
6868
| Sort the results
6969
| Limit the results
7070
| Count the results
71-
- | Select *certain* documents to return
72-
| Select *which* fields to return
71+
- | Select certain documents to return
72+
| Select which fields to return
7373
| Sort the results
7474
| Limit the results
7575
| Count the results
@@ -170,7 +170,7 @@ from the preceding :ref:`ruby-aggregation-example`:
170170
:visible: false
171171

172172
{"explainVersion"=>"2", "queryPlanner"=>{"namespace"=>"sample_restaurants.restaurants",
173-
"parsedQuery"=>"cuisine"=> {"$eq"=> "Bakery"}}, "indexFilterSet"=>false,
173+
"parsedQuery"=>{"cuisine"=> {"$eq"=> "Bakery"}}, "indexFilterSet"=>false,
174174
"planCacheKey"=>"6104204B", "optimizedPipeline"=>true, "maxIndexedOrSolutionsReached"=>false,
175175
"maxIndexedAndSolutionsReached"=>false, "maxScansToExplodeReached"=>false,
176176
"prunedSimilarIndexes"=>false, "winningPlan"=>{"isCached"=>false,
@@ -190,6 +190,11 @@ Run an Atlas Full-Text Search
190190
To specify a full-text search of one or more fields, you can create a
191191
``$search`` pipeline stage.
192192

193+
This example creates pipeline stages to perform the following actions:
194+
195+
- Search the ``name`` field for the term ``"Salt"``
196+
- Project only the ``_id`` and the ``name`` values of matching documents
197+
193198
.. important::
194199

195200
To run the following example, you must create an Atlas Search index on the ``restaurants``
@@ -198,11 +203,6 @@ To specify a full-text search of one or more fields, you can create a
198203

199204
.. TODO: Add a link in the callout to the Atlas Search index creation guide.
200205

201-
This example creates pipeline stages to perform the following actions:
202-
203-
- Search the ``name`` field for the term ``"Salt"``
204-
- Project only the ``_id`` and the ``name`` values of matching documents
205-
206206
.. io-code-block::
207207
:copyable:
208208

0 commit comments

Comments
 (0)