Class ReciprocalRankFusionScoring
Reciprocal Rank Fusion. Merges the FTS and vector result sets by rank rather than by raw score.
Inherited Members
Namespace: Couchbase.Search
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Uncommitted)]
public sealed class ReciprocalRankFusionScoring : SearchScoring
Methods
View SourceRankConstant(uint)
The constant added to each rank before it is inverted. Larger values flatten the influence of the top ranks. The server defaults this to 60.
Declaration
public ReciprocalRankFusionScoring RankConstant(uint rankConstant)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | rankConstant | The rank constant. |
Returns
| Type | Description |
|---|---|
| ReciprocalRankFusionScoring | The ReciprocalRankFusionScoring for chaining method calls. |
WindowSize(uint)
How many results per list are considered for fusion. The server defaults this to the limit of the request.
Declaration
public ReciprocalRankFusionScoring WindowSize(uint windowSize)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | windowSize | The window size. |
Returns
| Type | Description |
|---|---|
| ReciprocalRankFusionScoring | The ReciprocalRankFusionScoring for chaining method calls. |