Skip to content

Commit d3fb435

Browse files
Fix FVH boost issue (#15442)
1 parent 8b26cf8 commit d3fb435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/highlighter/src/java/org/apache/lucene/search/vectorhighlight/FieldPhraseList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void addIfNoOverlap(WeightedPhraseInfo wpi) {
177177
// The result is that all informations in TermInfo are lost and not available for further
178178
// operations.
179179
existWpi.getTermsInfos().addAll(wpi.getTermsInfos());
180-
existWpi.boost += wpi.getBoost(); // 累加 boost
180+
existWpi.boost += wpi.getBoost(); // Accumulate boost
181181
return;
182182
}
183183
}

0 commit comments

Comments
 (0)