Package org.apache.lucene.index
Class IndexWriter.DocStats
- java.lang.Object
-
- org.apache.lucene.index.IndexWriter.DocStats
-
- Enclosing class:
- IndexWriter
public static final class IndexWriter.DocStats extends java.lang.ObjectDocStats for this index
-
-
Field Summary
Fields Modifier and Type Field Description intmaxDocThe total number of docs in this index, including docs not yet flushed (still in the RAM buffer), not counting deletions.intnumDocsThe total number of docs in this index, including docs not yet flushed (still in the RAM buffer), and including deletions.
-
Constructor Summary
Constructors Modifier Constructor Description privateDocStats(int maxDoc, int numDocs)
-
-
-
Field Detail
-
maxDoc
public final int maxDoc
The total number of docs in this index, including docs not yet flushed (still in the RAM buffer), not counting deletions.
-
numDocs
public final int numDocs
The 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 callIndexWriter.commit()first.
-
-