mirror of https://github.com/apache/lucene.git
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:
parent
8421cdfbb9
commit
c024c2e341
|
@ -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) + "%");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue