SearchDefinitionBuilderTDocumentCompound Method |
Creates a builder for a compound search definition.
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax public CompoundSearchDefinitionBuilder<TDocument> Compound(
SearchScoreDefinition<TDocument> score = null
)
Public Function Compound (
Optional score As SearchScoreDefinition(Of TDocument) = Nothing
) As CompoundSearchDefinitionBuilder(Of TDocument)
member Compound :
?score : SearchScoreDefinition<'TDocument>
(* Defaults:
let _score = defaultArg score null
*)
-> CompoundSearchDefinitionBuilder<'TDocument>
Parameters
- score (Optional)
- Type: MongoDB.Driver.SearchSearchScoreDefinitionTDocument
[Missing <param name="score"/> documentation for "M:MongoDB.Driver.Search.SearchDefinitionBuilder`1.Compound(MongoDB.Driver.Search.SearchScoreDefinition{`0})"]
Return Value
Type:
CompoundSearchDefinitionBuilderTDocument[Missing <returns> documentation for "M:MongoDB.Driver.Search.SearchDefinitionBuilder`1.Compound(MongoDB.Driver.Search.SearchScoreDefinition{`0})"]
See Also