Skip to content

Commit 08e239b

Browse files
committed
Modified comments in the builder
1 parent a52bc1e commit 08e239b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/rank-rrf/src/main/java/org/elasticsearch/xpack/rank/linear/LinearRetrieverBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public LinearRetrieverBuilder(
131131
throw new IllegalArgumentException("The number of normalizers must match the number of inner retrievers");
132132
}
133133
if (minScore < 0) {
134-
throw new IllegalArgumentException("[min_score] must be greater than 0, was: " + minScore);
134+
throw new IllegalArgumentException("[min_score] must be greater than or equal to 0, was: " + minScore);
135135
}
136136
this.weights = weights;
137137
this.normalizers = normalizers;

0 commit comments

Comments
 (0)