diff --git a/src/main/java/org/opensearch/neuralsearch/search/collector/HybridTopScoreDocCollector.java b/src/main/java/org/opensearch/neuralsearch/search/collector/HybridTopScoreDocCollector.java index 4ab10bceb..7a3585cf9 100644 --- a/src/main/java/org/opensearch/neuralsearch/search/collector/HybridTopScoreDocCollector.java +++ b/src/main/java/org/opensearch/neuralsearch/search/collector/HybridTopScoreDocCollector.java @@ -116,7 +116,11 @@ public void collect(int doc) throws IOException { continue; } if (hitsThresholdChecker.isThresholdReached() && totalHitsRelation == TotalHits.Relation.EQUAL_TO) { - log.info("reached hits threshold check"); + log.info( + "hit count threshold reached: total hits={}, threshold={}, action=updating_results", + totalHits, + hitsThresholdChecker.getTotalHitsThreshold() + ); totalHitsRelation = TotalHits.Relation.GREATER_THAN_OR_EQUAL_TO; } collectedHitsPerSubQuery[i]++;