IAggregateFluentTResultSearch 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 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