Click or drag to resize

GeoHaystackSearchOptions Class

Note: This API is now obsolete.

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

Namespace:  MongoDB.Driver.Builders
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
[ObsoleteAttribute("Use GeoHaystackSearchArgs instead.")]
public static class GeoHaystackSearchOptions

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