Table of Contents

Method SearchMeta

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

SearchMeta(SearchDefinition<TResult>, string, SearchCountOptions)

Appends a $searchMeta stage to the pipeline.

IAggregateFluent<SearchMetaResult> SearchMeta(SearchDefinition<TResult> searchDefinition, string indexName = null, SearchCountOptions count = null)

Parameters

searchDefinition SearchDefinition<TResult>

The search definition.

indexName string

The index name.

count SearchCountOptions

The count options.

Returns

IAggregateFluent<SearchMetaResult>

The fluent aggregate interface.