DocStats

class DocStats(val maxDoc: Int, val numDocs: Int)

DocStats for this index

Constructors

Link copied to clipboard
constructor(maxDoc: Int, numDocs: Int)

Properties

Link copied to clipboard
val maxDoc: Int

The total number of docs in this index, counting docs not yet flushed (still in the RAM buffer), and also counting deleted docs. NOTE: buffered deletions are not counted. If you really need these to be counted you should call IndexWriter.commit first.

Link copied to clipboard

The total number of docs in this index, counting docs not yet flushed (still in the RAM buffer), but not counting deleted docs.