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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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.

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 memberSetQueryTMember
Sets the query on the optional additional field.
Top
See Also