Documentation

SearchScoringReciprocalRankFusion
in package
implements JsonSerializable, SearchScoring

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.

Note: available from Couchbase Server 8.1.

Tags
since
4.6.0
UNCOMMITTED:

This API may change in the future.

Interfaces, Classes, Traits and Enums

JsonSerializable
SearchScoring
Common interface for the scoring mode of a search query.

Table of Contents

$rankConstant  : int|null
$windowSize  : int|null
build()  : SearchScoringReciprocalRankFusion
Static helper to keep code more readable
rankConstant()  : SearchScoringReciprocalRankFusion
Sets the rank constant of the Reciprocal Rank Fusion formula.
windowSize()  : SearchScoringReciprocalRankFusion
Sets how many results per list are considered for fusion.

Properties

Methods


        

Search results