Table of Contents

Class GeoHaystackSearchArgs

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents the arguments to the GeoHaystackSearch method.

[Obsolete("GeoHaystack indexes were deprecated in server version 4.4.")]
public class GeoHaystackSearchArgs
Inheritance
GeoHaystackSearchArgs
Inherited Members
Extension Methods

Properties

AdditionalFieldName

Gets or sets the name of the additional field.

AdditionalFieldValue

Gets or sets the additional field value.

Limit

Gets or sets the limit.

MaxDistance

Gets or sets the max distance.

MaxTime

Gets or sets the max time.

Near

Gets or sets the location near which to search.

Methods

SetAdditionalField(string, BsonValue)

Sets the name and value of the additional field.

SetAdditionalField<TDocument, TMember>(Expression<Func<TDocument, TMember>>, TMember)

Sets the name and value of the additional field.