You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/01/30 18:50:08 UTC
svn commit: r1237842 -
/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
Author: rmuir
Date: Mon Jan 30 17:50:08 2012
New Revision: 1237842
URL: http://svn.apache.org/viewvc?rev=1237842&view=rev
Log:
LUCENE-3728: add note to this infostream that it includes docstores
Modified:
lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
Modified: lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java?rev=1237842&r1=1237841&r2=1237842&view=diff
==============================================================================
--- lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java (original)
+++ lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/DocumentsWriterPerThread.java Mon Jan 30 17:50:08 2012
@@ -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) + "%");
}