We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbcf94 commit c5187bfCopy full SHA for c5187bf
x-pack/plugin/rank-rrf/src/main/java/org/elasticsearch/xpack/rank/linear/L2ScoreNormalizer.java
@@ -44,7 +44,6 @@ public ScoreDoc[] normalizeScores(ScoreDoc[] docs) {
44
}
45
double norm = Math.sqrt(sumOfSquares);
46
if (norm < EPSILON) {
47
- // Avoid division by zero, return original scores (or set all to zero if you prefer)
48
return docs;
49
50
ScoreDoc[] scoreDocs = new ScoreDoc[docs.length];
0 commit comments