CosmosDbFunctionsExtensions.Rrf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Rrf(DbFunctions, Double[]) |
Combines scores provided by two or more specified functions. |
| Rrf(DbFunctions, Double[], Double[]) |
Combines scores provided by two or more specified functions. |
Rrf(DbFunctions, Double[])
Combines scores provided by two or more specified functions.
public static double Rrf(this Microsoft.EntityFrameworkCore.DbFunctions _, params double[] scores);
static member Rrf : Microsoft.EntityFrameworkCore.DbFunctions * double[] -> double
<Extension()>
Public Function Rrf (_ As DbFunctions, ParamArray scores As Double()) As Double
Parameters
The DbFunctions instance.
- scores
- Double[]
Scoring function calls to be combined.
Returns
The combined score.
Applies to
Rrf(DbFunctions, Double[], Double[])
Combines scores provided by two or more specified functions.
public static double Rrf(this Microsoft.EntityFrameworkCore.DbFunctions _, double[] scores, double[] weights);
static member Rrf : Microsoft.EntityFrameworkCore.DbFunctions * double[] * double[] -> double
<Extension()>
Public Function Rrf (_ As DbFunctions, scores As Double(), weights As Double()) As Double
Parameters
The DbFunctions instance.
- scores
- Double[]
Scoring function calls to be combined.
- weights
- Double[]
An array of numbers defining an importance weight for each scoring function.
Returns
The combined score.