Skip to content

Apache Lucene open-source search software

LUCENE-3728: add note to this infostream that it includes docstores

Robert Muirc024c2e34176
diff --git a/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java b/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
index c4a02455e11..9ed5d23349d 100644
--- a/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
+++ b/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
@@ -495,10 +495,9 @@ public class DocumentsWriterPerThread {
if (infoStream.isEnabled("DWPT")) {
final double newSegmentSize = newSegment.sizeInBytes()/1024./1024.;
- // nocommit: some of this is confusing since it includes docstores
infoStream.message("DWPT", "flushed: segment=" + newSegment +
" ramUsed=" + nf.format(startMBUsed) + " MB" +
- " newFlushedSize=" + nf.format(newSegmentSize) + " MB" +
+ " newFlushedSize(includes docstores)=" + nf.format(newSegmentSize) + " MB" +
" docs/MB=" + nf.format(flushedDocCount / newSegmentSize) +
" new/old=" + nf.format(100.0 * newSegmentSize / startMBUsed) + "%");
}