Exemplo n.º 1
0
 /// <summary>
 /// Returns approximate RAM bytes used </summary>
 public long RamBytesUsed()
 {
     return(((normsProducer != null) ? normsProducer.RamBytesUsed() : 0) +
            ((fields != null) ? fields.RamBytesUsed() : 0) +
            ((fieldsReaderOrig != null) ? fieldsReaderOrig.RamBytesUsed() : 0) +
            ((termVectorsReaderOrig != null) ? termVectorsReaderOrig.RamBytesUsed() : 0));
 }
Exemplo n.º 2
0
 public override long RamBytesUsed()
 {
     return(@in.RamBytesUsed());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Returns approximate RAM bytes used </summary>
 public long RamBytesUsed()
 {
     return(((NormsProducer != null) ? NormsProducer.RamBytesUsed() : 0) + ((Fields != null) ? Fields.RamBytesUsed() : 0) + ((FieldsReaderOrig != null) ? FieldsReaderOrig.RamBytesUsed() : 0) + ((TermVectorsReaderOrig != null) ? TermVectorsReaderOrig.RamBytesUsed() : 0));
 }