IAggregateFluentTResultSearch 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 IAggregateFluent<TResult> Search(
SearchDefinition<TResult> searchDefinition,
SearchOptions<TResult> searchOptions
)
Function Search (
searchDefinition As SearchDefinition(Of TResult),
searchOptions As SearchOptions(Of TResult)
) As IAggregateFluent(Of TResult)
abstract Search :
searchDefinition : SearchDefinition<'TResult> *
searchOptions : SearchOptions<'TResult> -> IAggregateFluent<'TResult>
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.
See Also