summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java
diff options
context:
space:
mode:
authorArne Juul <root@screwdriver.com>2023-10-10 12:56:18 +0000
committerArne Juul <root@screwdriver.com>2023-10-10 12:56:18 +0000
commite3401296f36818430e580d9522772f6d5ab2e43f (patch)
tree9cbd1e3ce61cacdd2a625ef4435d398f27968feb /container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java
parent54c1885ae2c0a672b67618e3871482c374d753ae (diff)
simplify Normalizer
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java b/container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java
index d3cdfc4bc78..6716485e343 100644
--- a/container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java
+++ b/container-search/src/main/java/com/yahoo/search/ranking/ReciprocalRankNormalizer.java
@@ -7,8 +7,8 @@ class ReciprocalRankNormalizer extends Normalizer {
private final double k;
- ReciprocalRankNormalizer(String name, String input, int maxSize, double k) {
- super(name, input, maxSize);
+ ReciprocalRankNormalizer(int maxSize, double k) {
+ super(maxSize);
this.k = k;
}