diff options
author | Arne Juul <arnej@vespa.ai> | 2023-11-02 14:55:26 +0000 |
---|---|---|
committer | Arne Juul <arnej@vespa.ai> | 2023-11-02 14:55:26 +0000 |
commit | a946b12ff2a04cf2152a5b98cf0ed9c3ca542fba (patch) | |
tree | b4163e17088cc431efc95adff7e4b24447fe4017 /config-model/src/main/java/com | |
parent | 464d372e8f95b4a56d54957d32f2c5c5641a4c39 (diff) |
explain consequences in the warning
Diffstat (limited to 'config-model/src/main/java/com')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/RankProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/RankProfile.java b/config-model/src/main/java/com/yahoo/schema/RankProfile.java index 3d64252f56a..502b054f84e 100644 --- a/config-model/src/main/java/com/yahoo/schema/RankProfile.java +++ b/config-model/src/main/java/com/yahoo/schema/RankProfile.java @@ -1278,7 +1278,7 @@ public class RankProfile implements Cloneable { } private void warnOnce() { if (shouldWarn) { - deployLogger.log(Level.WARNING, "Using attribute(" + attr +") " + collType + " as ranking expression input"); + deployLogger.log(Level.WARNING, "Using attribute(" + attr +") " + collType + " in ranking expression will always evaluate to 0.0"); shouldWarn = false; } } |