Interface ReciprocalRankFusionOrBuilder (0.1.0)

public interface ReciprocalRankFusionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWeights(int index)

public abstract double getWeights(int index)

Required. The weights to apply to each search result set during fusion.

repeated double weights = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
double

The weights at the given index.

getWeightsCount()

public abstract int getWeightsCount()

Required. The weights to apply to each search result set during fusion.

repeated double weights = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of weights.

getWeightsList()

public abstract List<Double> getWeightsList()

Required. The weights to apply to each search result set during fusion.

repeated double weights = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Double>

A list containing the weights.