mirror of https://github.com/apache/lucene.git
fix wrong deleted docs count in IW's infoStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c87db7a50
commit
71d836b713
|
@ -418,7 +418,7 @@ class DocumentsWriterPerThread {
|
|||
|
||||
final SegmentCommitInfo segmentInfoPerCommit = new SegmentCommitInfo(segmentInfo, 0, -1L, -1L);
|
||||
if (infoStream.isEnabled("DWPT")) {
|
||||
infoStream.message("DWPT", "new segment has " + (flushState.liveDocs == null ? 0 : (flushState.segmentInfo.getDocCount() - flushState.delCountOnFlush)) + " deleted docs");
|
||||
infoStream.message("DWPT", "new segment has " + (flushState.liveDocs == null ? 0 : flushState.delCountOnFlush) + " deleted docs");
|
||||
infoStream.message("DWPT", "new segment has " +
|
||||
(flushState.fieldInfos.hasVectors() ? "vectors" : "no vectors") + "; " +
|
||||
(flushState.fieldInfos.hasNorms() ? "norms" : "no norms") + "; " +
|
||||
|
|
Loading…
Reference in New Issue