Table of Contents

Class SearchFacet<TDocument>

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

Base class for search facets.

public abstract class SearchFacet<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
SearchFacet<TDocument>
Inherited Members

Constructors

SearchFacet(string)

Initializes a new instance of the SearchFacet<TDocument> class.

Properties

Name

Gets the name of the facet.

Methods

Render(RenderArgs<TDocument>)

Renders the search facet to a BsonDocument.