Method GeoSpatialSpherical
GeoSpatialSpherical<TMember>(Expression<Func<TDocument, TMember>>)
Sets the key name to create a spherical geospatial index on.
public static IndexKeysBuilder<TDocument> GeoSpatialSpherical<TMember>(Expression<Func<TDocument, TMember>> memberExpression)
Parameters
memberExpression
Expression<Func<TDocument, TMember>>The member expression.
Returns
- IndexKeysBuilder<TDocument>
The builder (so method calls can be chained).
Type Parameters
TMember
The type of the member.