SearchScoreFunctionBuilderTDocumentPath Method (SearchPathDefinitionTDocument, Double) | 
 
            Creates a function that incorporates an indexed numeric field value into the score.
            
 
    Namespace: 
   MongoDB.Driver.Search
    Assembly:
   MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic SearchScoreFunction<TDocument> Path(
	SearchPathDefinition<TDocument> path,
	double undefined = 0
)
Public Function Path ( 
	path As SearchPathDefinition(Of TDocument),
	Optional undefined As Double = 0
) As SearchScoreFunction(Of TDocument)
member Path : 
        path : SearchPathDefinition<'TDocument> * 
        ?undefined : float 
(* Defaults:
        let _undefined = defaultArg undefined 0
*)
-> SearchScoreFunction<'TDocument> 
Parameters
- path
 - Type: MongoDB.Driver.SearchSearchPathDefinitionTDocument
The path to the numeric field. - undefined (Optional)
 - Type: SystemDouble
            The value to use if the numeric field specified using path is
            missing in the document.
             
Return Value
Type: 
SearchScoreFunctionTDocumentA path score function.
See Also