Skip to content

Commit ab0aaa5

Browse files
committed
DOCSP-49745: geoNear agg stage
1 parent ba55cde commit ab0aaa5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/aggregation/stages.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ to your pipeline.
171171
dimensions, or facets, in a single stage.
172172
- ``Facet()``
173173

174+
* - :manual:`$geoNear </reference/operator/aggregation/geoNear/>`
175+
- Returns documents in order of nearest to farthest from a
176+
specified point. This method adds a field to output documents
177+
that contains the distance from the specified point.
178+
- ``GeoNear()``
179+
174180
* - :manual:`$graphLookup </reference/operator/aggregation/graphLookup/>`
175181
- Performs a recursive search on a collection. This method adds
176182
a new array field to each output document that contains the traversal
@@ -354,4 +360,5 @@ following API documentation:
354360
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
355361
- `EmptyPipelineDefinition<TDocument> <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.EmptyPipelineDefinition-1.-ctor.html>`__
356362
- `BsonDocument <{+new-api-root+}/MongoDB.Bson/MongoDB.Bson.BsonDocument.html>`__
357-
- `PipelineDefinitionBuilder.AppendStage() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__
363+
- `PipelineDefinitionBuilder.AppendStage()
364+
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineDefinitionBuilder.AppendStage.html>`__

0 commit comments

Comments
 (0)