Table of Contents

Class GeoHaystackSearchOptions

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

A builder for the options of the GeoHaystackSearch command.

[Obsolete("Use GeoHaystackSearchArgs instead.")]
public static class GeoHaystackSearchOptions
Inheritance
GeoHaystackSearchOptions
Inherited Members

Properties

Null

Gets a null value with a type of IMongoGeoHaystackSearchOptions.

Methods

SetLimit(int)

Sets the maximum number of results to return.

SetMaxDistance(double)

Sets the max distance.

SetQuery(string, BsonValue)

Sets the query on the optional additional field.