Table of Contents

Class GeoHaystackSearchOptions<TDocument>

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

A builder for the options of the GeoHaystackSearch command.

[Obsolete("Use GeoHaystackSearchArgs instead.")]
public static class GeoHaystackSearchOptions<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
GeoHaystackSearchOptions<TDocument>
Inherited Members

Properties

Null

Gets a null value with a type of IMongoGeoHaystackSearchOptions.

Methods

SetLimit(int)

Sets the maximum number of results to return.

SetMaxDistance(double)

Sets the max distance.

SetQuery<TMember>(Expression<Func<TDocument, TMember>>, TMember)

Sets the query on the optional additional field.