Click or drag to resize
MongoCollection<TDefaultDocument>.GeoHaystackSearch Method (GeoHaystackSearchArgs)
Runs a geoHaystack search command on this collection.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.2.0
Syntax
public virtual GeoHaystackSearchResult<TDefaultDocument> GeoHaystackSearch(
	GeoHaystackSearchArgs args
)

Parameters

args
Type: MongoDB.Driver.GeoHaystackSearchArgs
The args.

Return Value

Type: GeoHaystackSearchResult<TDefaultDocument>
A GeoHaystackSearchResult<TDocument>.
See Also