Skip to content

Commit 3077e45

Browse files
committed
address minor comments
1 parent 0eb74b8 commit 3077e45

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/MongoDB.Driver/Core/Misc/Feature.cs

+2
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ public class Feature
291291
/// <summary>
292292
/// Gets the geoNear command feature.
293293
/// </summary>
294+
///
295+
[Obsolete("This property will be removed in a later release.")]
294296
public static Feature GeoNearCommand => __geoNearCommand;
295297

296298
/// <summary>

src/MongoDB.Driver/PipelineStageDefinitionBuilder.cs

-9
Original file line numberDiff line numberDiff line change
@@ -605,15 +605,6 @@ public static PipelineStageDefinition<TInput, TOutput> Facet<TInput, TOutput>(
605605
return Facet<TInput, TOutput>((IEnumerable<AggregateFacet<TInput>>)facets);
606606
}
607607

608-
/// <summary>
609-
/// Creates a $geoNear stage.
610-
/// </summary>
611-
/// <typeparam name="TInput">The type of the input documents.</typeparam>
612-
/// <typeparam name="TOutput">The type of the output documents.</typeparam>
613-
/// <typeparam name="TPoint">The type of the point. This could be a <see cref="GeoJsonPoint{TCoordinates}"/>, a 2d array or embedded document.</typeparam>
614-
/// <param name="near">The point for which to find the closest documents.</param>
615-
/// <param name="options">The options.</param>
616-
/// <returns>The stage.</returns>
617608
internal static PipelineStageDefinition<TInput, TOutput> GeoNear<TInput, TPoint, TOutput>(
618609
TPoint near,
619610
GeoNearOptions<TInput, TOutput> options = null)

0 commit comments

Comments
 (0)