Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1
-
None
-
New
Description
Spinoff from here:
I think we should add maxDoc() and numDocs() methods to IndexWriter,
and deprecate docCount() in favor of maxDoc(). To do this I think we
should cache the deletion count of each segment in the segments file.