mirror of https://github.com/apache/lucene.git
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:
parent
578f5cf51b
commit
3d833fdb66
|
@ -5001,7 +5001,7 @@ public class IndexWriter
|
||||||
+ ("; "
|
+ ("; "
|
||||||
+ (mergeState.mergeFieldInfos.hasDocValues() ? "docValues" : "no docValues"))
|
+ (mergeState.mergeFieldInfos.hasDocValues() ? "docValues" : "no docValues"))
|
||||||
+ ("; " + (mergeState.mergeFieldInfos.hasProx() ? "prox" : "no prox"))
|
+ ("; " + (mergeState.mergeFieldInfos.hasProx() ? "prox" : "no prox"))
|
||||||
+ ("; " + (mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs"))
|
+ ("; " + (mergeState.mergeFieldInfos.hasFreq() ? "freqs" : "no freqs"))
|
||||||
+ ("; " + (mergeState.mergeFieldInfos.hasPointValues() ? "points" : "no points"))
|
+ ("; " + (mergeState.mergeFieldInfos.hasPointValues() ? "points" : "no points"))
|
||||||
+ ("; "
|
+ ("; "
|
||||||
+ String.format(
|
+ String.format(
|
||||||
|
|
Loading…
Reference in New Issue