Click or drag to resize

GeoHaystackSearchOptions<TDocument> Class

Note: This API is now obsolete.

A builder for the options of the GeoHaystackSearch command.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.Builders.GeoHaystackSearchOptions<TDocument>

Namespace:  MongoDB.Driver.Builders
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
[ObsoleteAttribute("Use GeoHaystackSearchArgs instead.")]
public static class GeoHaystackSearchOptions<TDocument>

Type Parameters

TDocument
The type of the document.

The GeoHaystackSearchOptions<TDocument> type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberNull
Gets a null value with a type of IMongoGeoHaystackSearchOptions.
Top
Methods
  NameDescription
Public methodStatic memberSetLimit
Sets the maximum number of results to return.
Public methodStatic memberSetMaxDistance
Sets the max distance.
Public methodStatic memberSetQuery<TMember>
Sets the query on the optional additional field.
Top
See Also