Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CosmosDbFunctionsExtensions.Rrf Method

Definition

Namespace:
Microsoft.EntityFrameworkCore
Assembly:
Microsoft.EntityFrameworkCore.Cosmos.dll
Package:
Microsoft.EntityFrameworkCore.Cosmos v10.0.0

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[])

Source:
CosmosDbFunctionsExtensions.cs

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

_
DbFunctions

The DbFunctions instance.

scores
Double[]

Scoring function calls to be combined.

Returns

The combined score.

Applies to

Rrf(DbFunctions, Double[], Double[])

Source:
CosmosDbFunctionsExtensions.cs

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

_
DbFunctions

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.

Applies to


Feedback

Was this page helpful?