Apache Lucene.Net 2.1 Class Library API

IndexWriter.NumRamDocs Method 

Expert: Return the number of documents whose segments are currently cached in memory. Useful when calling flushRamSegments()

public int NumRamDocs();

See Also

IndexWriter Class | Lucene.Net.Index Namespace