Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class ReciprocalRankFusionScoring

Reciprocal Rank Fusion. Merges the FTS and vector result sets by rank rather than by raw score.

Inheritance
object
SearchScoring
ReciprocalRankFusionScoring
Inherited Members
SearchScoring.ReciprocalRankFusion()
SearchScoring.RelativeScoreFusion()
SearchScoring.None()
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Search
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Uncommitted)]
public sealed class ReciprocalRankFusionScoring : SearchScoring

Methods

View Source

RankConstant(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.

View Source

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.

  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.