SearchScoringRelativeScoreFusion
in package
implements
JsonSerializable, SearchScoring
Merges the FTS and vector result sets by normalized score rather than by rank.
Note: available from Couchbase Server 8.1. Setting it makes the SDK check for the score fusion cluster capability, and fail the operation with a FeatureNotAvailableException if the cluster does not advertise it.
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
- SearchScoring
- Common interface for the scoring mode of a search query.
Table of Contents
- $windowSize : int|null
- build() : SearchScoringRelativeScoreFusion
- Static helper to keep code more readable
- windowSize() : SearchScoringRelativeScoreFusion
- Sets how many results per list are considered for fusion.
Properties
$windowSize
private
int|null
$windowSize
= null
Methods
build()
Static helper to keep code more readable
public
static build() : SearchScoringRelativeScoreFusion
Tags
Return values
SearchScoringRelativeScoreFusion —windowSize()
Sets how many results per list are considered for fusion.
public
windowSize(int $windowSize) : SearchScoringRelativeScoreFusion
Parameters
- $windowSize : int
-
the window size