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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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