Click or drag to resize

AggregateFluentBaseTResultSearch Method (SearchDefinitionTResult, SearchOptionsTResult)

Appends a $search stage to the pipeline.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public virtual IAggregateFluent<TResult> Search(
	SearchDefinition<TResult> searchDefinition,
	SearchOptions<TResult> searchOptions
)

Parameters

searchDefinition
Type: MongoDB.Driver.SearchSearchDefinitionTResult
The search definition.
searchOptions
Type: MongoDB.Driver.SearchSearchOptionsTResult
The search options.

Return Value

Type: IAggregateFluentTResult
The fluent aggregate interface.

Implements

IAggregateFluentTResultSearch(SearchDefinitionTResult, SearchOptionsTResult)
See Also