LUCENE-10009: fix longstanding cosmetic bug in IndexWriter's infoStream logging, falsely claiming term frequencies were not enabled when positions were not indexed (thank you @yangsongbai)

This commit is contained in:
Mike McCandless 2021-06-25 10:56:18 -04:00
parent 578f5cf51b
commit 3d833fdb66
1 changed files with 1 additions and 1 deletions

View File

@ -5001,7 +5001,7 @@ public class IndexWriter
+ ("; "
+ (mergeState.mergeFieldInfos.hasDocValues() ? "docValues" : "no docValues"))
+ ("; " + (mergeState.mergeFieldInfos.hasProx() ? "prox" : "no prox"))
+ ("; " + (mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs"))
+ ("; " + (mergeState.mergeFieldInfos.hasFreq() ? "freqs" : "no freqs"))
+ ("; " + (mergeState.mergeFieldInfos.hasPointValues() ? "points" : "no points"))
+ ("; "
+ String.format(