@@ -18,12 +18,12 @@ Transform Your Data with Aggregation
18
18
:depth: 2
19
19
:class: singlecol
20
20
21
- .. TODO :
22
- .. toctree: :
23
- :titlesonly:
24
- :maxdepth: 1
25
-
26
- /aggregation/aggregation-tutorials
21
+ .. toctree: :
22
+ :titlesonly :
23
+ :maxdepth: 1
24
+
25
+ Atlas Search </aggregation/atlas-search>
26
+ Atlas Vector Search < /aggregation/vector-search>
27
27
28
28
Overview
29
29
--------
@@ -78,9 +78,9 @@ Consider the following limitations when performing aggregation operations:
78
78
79
79
.. important:: $graphLookup Exception
80
80
81
- The :manual:`$graphLookup
82
- </reference/operator/aggregation/graphLookup/>` stage has a strict
83
- memory limit of 100 megabytes and ignores the ``allowDiskUse`` option.
81
+ The :manual:`$graphLookup
82
+ </reference/operator/aggregation/graphLookup/>` stage has a strict
83
+ memory limit of 100 megabytes and ignores the ``allowDiskUse`` option.
84
84
85
85
.. _php-aggregation-example:
86
86
@@ -110,21 +110,21 @@ of New York. To do so, it uses an aggregation pipeline that contains the followi
110
110
.. io-code-block::
111
111
:copyable:
112
112
113
- .. input:: /includes/aggregation.php
114
- :start-after: start-match-group
115
- :end-before: end-match-group
116
- :language: php
117
- :dedent:
113
+ .. input:: /includes/aggregation/aggregation .php
114
+ :start-after: start-match-group
115
+ :end-before: end-match-group
116
+ :language: php
117
+ :dedent:
118
118
119
119
.. output::
120
- :visible: false
120
+ :visible: false
121
121
122
- {"_id":"Brooklyn","count":173}
123
- {"_id":"Queens","count":204}
124
- {"_id":"Bronx","count":71}
125
- {"_id":"Staten Island","count":20}
126
- {"_id":"Missing","count":2}
127
- {"_id":"Manhattan","count":221}
122
+ {"_id":"Brooklyn","count":173}
123
+ {"_id":"Queens","count":204}
124
+ {"_id":"Bronx","count":71}
125
+ {"_id":"Staten Island","count":20}
126
+ {"_id":"Missing","count":2}
127
+ {"_id":"Manhattan","count":221}
128
128
129
129
Explain an Aggregation
130
130
~~~~~~~~~~~~~~~~~~~~~~
@@ -146,20 +146,20 @@ from the preceding :ref:`php-aggregation-example`:
146
146
.. io-code-block::
147
147
:copyable:
148
148
149
- .. input:: /includes/aggregation.php
150
- :start-after: start-explain
151
- :end-before: end-explain
152
- :language: php
153
- :dedent:
149
+ .. input:: /includes/aggregation/aggregation .php
150
+ :start-after: start-explain
151
+ :end-before: end-explain
152
+ :language: php
153
+ :dedent:
154
154
155
155
.. output::
156
- :visible: false
156
+ :visible: false
157
157
158
- {"explainVersion":"2","queryPlanner":{"namespace":"sample_restaurants.restaurants",
159
- "indexFilterSet":false,"parsedQuery":{"cuisine":{"$eq":"Bakery"}},"queryHash":"865F14C3",
160
- "planCacheKey":"D56D6F10","optimizedPipeline":true,"maxIndexedOrSolutionsReached":false,
161
- "maxIndexedAndSolutionsReached":false,"maxScansToExplodeReached":false,"winningPlan":{
162
- ... }
158
+ {"explainVersion":"2","queryPlanner":{"namespace":"sample_restaurants.restaurants",
159
+ "indexFilterSet":false,"parsedQuery":{"cuisine":{"$eq":"Bakery"}},"queryHash":"865F14C3",
160
+ "planCacheKey":"D56D6F10","optimizedPipeline":true,"maxIndexedOrSolutionsReached":false,
161
+ "maxIndexedAndSolutionsReached":false,"maxScansToExplodeReached":false,"winningPlan":{
162
+ ... }
163
163
164
164
Additional Information
165
165
----------------------
@@ -188,6 +188,15 @@ pages in the {+mdb-server+} manual:
188
188
:manual:`Explain Output </reference/explain-results/>` and
189
189
:manual:`Query Plans </core/query-plans/>`.
190
190
191
+ Atlas Search and Vector Search
192
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193
+
194
+ You can perform full-text searches by using the Atlas Search feature. To
195
+ learn more, see the :ref:`php-atlas-search` guide.
196
+
197
+ You can perform similarity searches on vector embeddings by using the
198
+ Atlas Vector Search feature. To learn more, see the :ref:`php-vector-search` guide.
199
+
191
200
.. TODO:
192
201
Aggregation Tutorials
193
202
~~~~~~~~~~~~~~~~~~~~~
0 commit comments