Class GeoHaystackSearchResult<TDocument>
Represents the result of a GeoHaystackSearch command.
[Serializable]
[BsonSerializer(typeof(GeoHaystackSearchResult<>.Serializer))]
[Obsolete("GeoHaystack indexes were deprecated in server version 4.4.")]
public class GeoHaystackSearchResult<TDocument> : GeoHaystackSearchResult
Type Parameters
TDocument
The type of the returned documents.
- Inheritance
-
GeoHaystackSearchResult<TDocument>
- Inherited Members
- Extension Methods
Constructors
GeoHaystackSearchResult(BsonDocument)
Initializes a new instance of the GeoHaystackSearchResult<TDocument> class.
public GeoHaystackSearchResult(BsonDocument response)
Parameters
response
BsonDocumentThe response.
Properties
Hits
Gets the hits.
public GeoHaystackSearchResult<TDocument>.GeoHaystackSearchHits Hits { get; }
Property Value
- GeoHaystackSearchResult<TDocument>.GeoHaystackSearchHits
HitsImplementation
Gets the hits.
protected override GeoHaystackSearchResult.GeoHaystackSearchHits HitsImplementation { get; }