File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ section of the Indexes guide.
158
158
Query Operators
159
159
~~~~~~~~~~~~~~~
160
160
161
- To query geospatial data, use one of the following query operators:
161
+ To query geospatial data using the ``find`` operator , use one of the following query operators:
162
162
163
163
- ``$near``
164
164
- ``$geoWithin``
@@ -177,6 +177,8 @@ When using the ``$geoWithin`` operator, you can specify the following shape oper
177
177
- ``$center``
178
178
- ``$centerSphere``
179
179
180
+ To query geospatial data using the ``aggregate`` operator, you must use the ``$geoNear`` pipeline stage.
181
+
180
182
For more information on geospatial query operators, see
181
183
:manual:`Geospatial Query Operators </geospatial-queries/#geospatial-query-operators>` in
182
184
the server manual.
You can’t perform that action at this time.
0 commit comments