Method SearchMeta
SearchMeta<TInput>(SearchDefinition<TInput>, string, SearchCountOptions)
Creates a $searchMeta stage.
public static PipelineStageDefinition<TInput, SearchMetaResult> SearchMeta<TInput>(SearchDefinition<TInput> searchDefinition, string indexName = null, SearchCountOptions count = null)
Parameters
searchDefinition
SearchDefinition<TInput>The search definition.
indexName
stringThe index name.
count
SearchCountOptionsThe count options.
Returns
- PipelineStageDefinition<TInput, SearchMetaResult>
The stage.
Type Parameters
TInput
The type of the input documents.