From f1ef018b6a56729c538e6fc685c5c7cb478dc4f5 Mon Sep 17 00:00:00 2001 From: samuel-oci <97131656+samuel-oci@users.noreply.github.com> Date: Fri, 20 Oct 2023 13:18:54 -0700 Subject: [PATCH] Update src/main/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java Co-authored-by: Heemin Kim Signed-off-by: samuel-oci <97131656+samuel-oci@users.noreply.github.com> --- .../processor/normalization/ZScoreNormalizationTechnique.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java b/src/main/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java index bc2ae9a7b..f80faf0f8 100644 --- a/src/main/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java +++ b/src/main/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java @@ -147,7 +147,7 @@ static private float[] findStdPerSubquery(final List queryTopDo return stdPerSubQuery; } - static private float sumScoreDocsArray(ScoreDoc[] scoreDocs) { + static private float sumScoreDocsArray(final ScoreDoc[] scoreDocs) { float sum = 0; for (ScoreDoc scoreDoc : scoreDocs) { sum += scoreDoc.score;