Table of Contents

Class SearchMetaFacetBucketResult

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

A search facet bucket result set.

public sealed class SearchMetaFacetBucketResult
Inheritance
SearchMetaFacetBucketResult
Inherited Members

Constructors

SearchMetaFacetBucketResult(long, BsonValue)

Initializes a new instance of the SearchMetaFacetBucketResult class.

public SearchMetaFacetBucketResult(long count, BsonValue id)

Parameters

count long

count of documents in this facet bucket.

id BsonValue

Unique identifier that identifies this facet bucket.

Properties

Count

Gets the count of documents in this facet bucket.

[BsonElement("count")]
public long Count { get; }

Property Value

long

Id

Gets the unique identifier that identifies this facet bucket.

[BsonId]
public BsonValue Id { get; }

Property Value

BsonValue