@@ -63,13 +63,13 @@ your data.
63
63
* - Find Operations
64
64
- Aggregation Operations
65
65
66
- * - | Select * certain* documents to return
67
- | Select * which* fields to return
66
+ * - | Select certain documents to return
67
+ | Select which fields to return
68
68
| Sort the results
69
69
| Limit the results
70
70
| 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
73
73
| Sort the results
74
74
| Limit the results
75
75
| Count the results
@@ -170,7 +170,7 @@ from the preceding :ref:`ruby-aggregation-example`:
170
170
:visible: false
171
171
172
172
{"explainVersion"=>"2", "queryPlanner"=>{"namespace"=>"sample_restaurants.restaurants",
173
- "parsedQuery"=>"cuisine"=> {"$eq"=> "Bakery"}}, "indexFilterSet"=>false,
173
+ "parsedQuery"=>{ "cuisine"=> {"$eq"=> "Bakery"}}, "indexFilterSet"=>false,
174
174
"planCacheKey"=>"6104204B", "optimizedPipeline"=>true, "maxIndexedOrSolutionsReached"=>false,
175
175
"maxIndexedAndSolutionsReached"=>false, "maxScansToExplodeReached"=>false,
176
176
"prunedSimilarIndexes"=>false, "winningPlan"=>{"isCached"=>false,
@@ -190,6 +190,11 @@ Run an Atlas Full-Text Search
190
190
To specify a full-text search of one or more fields, you can create a
191
191
``$search`` pipeline stage.
192
192
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
+
193
198
.. important::
194
199
195
200
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
198
203
199
204
.. TODO: Add a link in the callout to the Atlas Search index creation guide.
200
205
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
-
206
206
.. io-code-block::
207
207
:copyable:
208
208
0 commit comments