Method SearchMeta
SearchMeta(SearchDefinition<TResult>, string, SearchCountOptions)
Appends a $searchMeta stage to the pipeline.
public virtual IAggregateFluent<SearchMetaResult> SearchMeta(SearchDefinition<TResult> searchDefinition, string indexName = null, SearchCountOptions count = null)
Parameters
searchDefinition
SearchDefinition<TResult>The search definition.
indexName
stringThe index name.
count
SearchCountOptionsThe count options.
Returns
- IAggregateFluent<SearchMetaResult>
The fluent aggregate interface.