ExperimentalExperimental
Optionaloptions: { rankConstant?: number; windowSize?: number }Optional ExperimentalrankThe rank constant of the Reciprocal Rank Fusion formula.
Optional ExperimentalwindowHow many results per list are considered for fusion.
StaticnoneStaticreciprocalExperimental
Creates a SearchScoringReciprocalRankFusion.
Optionaloptions: { rankConstant?: number; windowSize?: number }StaticrelativeExperimental
Creates a SearchScoringRelativeScoreFusion.
Optionaloptions: { windowSize?: number }
Merges the FTS and vector result sets by rank rather than by raw score.
It works well with the server defaults, and is the recommended strategy.
Available from Couchbase Server 8.5. Setting it makes the SDK check for the score fusion cluster capability, and fail the operation if the cluster does not advertise it.
Uncommitted: This API is subject to change in the future.