Apache Lucene open-source search software
Fixed exponent value in explain of SigmoidFunction (#13691)
Owais Kazi0f5359a2ac66
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 9ebb3337caf..f26b4b30a88 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -403,6 +403,8 @@ Bug Fixes* GITHUB#13627: Fix race condition on flush for DWPT seqNo generation. (Ben Trent, Ao Li)+* GITHUB#13691: Fix incorrect exponent value in explain of SigmoidFunction. (Owais Kazi)+Other--------------------(No changes)diff --git a/lucene/core/src/java/org/apache/lucene/document/FeatureField.java b/lucene/core/src/java/org/apache/lucene/document/FeatureField.javaindex ad78b375f88..bedd95cf8a5 100644--- a/lucene/core/src/java/org/apache/lucene/document/FeatureField.java+++ b/lucene/core/src/java/org/apache/lucene/document/FeatureField.java@@ -475,7 +475,7 @@ public final class FeatureField extends Field {Explanation.match(pivot, "k, pivot feature value that would give a score contribution equal to w/2"),Explanation.match(- pivot,+ a,"a, exponent, higher values make the function grow slower before k and faster after k"),Explanation.match(featureValue, "S, feature value"));}