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

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-01-30 17:50:08 +00:00
parent 8421cdfbb9
commit c024c2e341
1 changed files with 1 additions and 2 deletions

View File

@ -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) + "%");
}