Click or drag to resize
GeoHaystackSearchOptionsTDocument Class

Note: This API is now obsolete.

A builder for the options of the GeoHaystackSearch command.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.BuildersGeoHaystackSearchOptionsTDocument

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

Type Parameters

TDocument
The type of the document.

The GeoHaystackSearchOptionsTDocument type exposes the following members.

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