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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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