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 d9e586b commit c10f782Copy full SHA for c10f782
x-pack/plugin/rank-rrf/src/main/java/org/elasticsearch/xpack/rank/linear/L2ScoreNormalizer.java
@@ -13,8 +13,8 @@
13
/**
14
* A score normalizer that applies L2 normalization to a set of scores.
15
* <p>
16
- * This normalizer scales the scores so that the L2 norm of the score vector is 1,
17
- * if possible. If all scores are zero or NaN, normalization is skipped and the original scores are returned.
+ * Each score is divided by the L2 norm of the scores if the norm is greater than a small EPSILON.
+ * If all scores are zero or NaN, normalization is skipped and the original scores are returned.
18
* </p>
19
*/
20
public class L2ScoreNormalizer extends ScoreNormalizer {
0 commit comments