public interface ReciprocalRankFusionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
intThe 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. |