Returns total number of docs in this index, including docs not yet flushed (still in the RAM buffer), and including deletions. NOTE: buffered deletions are not counted. If you really need these to be counted you should call {@link #Commit()} first.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual int NumDocs()
Visual Basic
Public Overridable Function NumDocs As Integer
Visual C++
public:
virtual int NumDocs()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexWriter.NumDocs"]

See Also