Skip to content

Commit 62d2753

Browse files
committed
LUCENE-9981: more efficient getCommonSuffix/Prefix, and more accurate 'effort limit', instead of precise output state limit, during determinize, for throwing TooComplexToDeterminizeException
1 parent c1c1491 commit 62d2753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/core/src/java/org/apache/lucene/index/IndexWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4784,7 +4784,7 @@ public int length() {
47844784
(mergeState.mergeFieldInfos.hasNorms() ? "norms" : "no norms") + "; " +
47854785
(mergeState.mergeFieldInfos.hasDocValues() ? "docValues" : "no docValues") + "; " +
47864786
(mergeState.mergeFieldInfos.hasProx() ? "prox" : "no prox") + "; " +
4787-
(mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs") + "; " +
4787+
(mergeState.mergeFieldInfos.hasFreq() ? "freqs" : "no freqs") + "; " +
47884788
(mergeState.mergeFieldInfos.hasPointValues() ? "points" : "no points") + "; " +
47894789
String.format(Locale.ROOT,
47904790
"%.1f sec%s to merge segment [%.2f MB, %.2f MB/sec]",

0 commit comments

Comments
 (0)