Google Cloud Vector Search V1 Client - Class ReciprocalRankFusion (0.3.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Vector Search V1 Client class ReciprocalRankFusion.
Defines the Reciprocal Rank Fusion (RRF) algorithm for result ranking.
Generated from protobuf messagegoogle.cloud.vectorsearch.v1.ReciprocalRankFusion
Namespace
Google \ Cloud \ VectorSearch \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ weights
float[]
Required. The weights to apply to each search result set during fusion.
getWeights
Required. The weights to apply to each search result set during fusion.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]