Table of Contents

Class GeoHaystackSearchResult.GeoHaystackSearchStats

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

Represents the stats of a GeoHaystackSearch command.

public class GeoHaystackSearchResult.GeoHaystackSearchStats
Inheritance
GeoHaystackSearchResult.GeoHaystackSearchStats
Inherited Members
Extension Methods

Constructors

GeoHaystackSearchStats(BsonDocument)

Initializes a new instance of the GeoHaystackSearchStats class.

public GeoHaystackSearchStats(BsonDocument stats)

Parameters

stats BsonDocument

The stats.

Properties

BTreeMatches

Gets the count of b-tree matches.

public int BTreeMatches { get; }

Property Value

int

Duration

Gets the duration.

public TimeSpan Duration { get; }

Property Value

TimeSpan

NumberOfHits

Gets the number of hits.

public int NumberOfHits { get; }

Property Value

int