add numDocs() and maxDoc() methods to IndexWriter; deprecate docCount() -----------------------------------------------------------------------
Key: LUCENE-1267 URL: https://issues.apache.org/jira/browse/LUCENE-1267 Project: Lucene - Java Issue Type: Improvement Components: Index Affects Versions: 2.3.1, 2.3, 2.2, 2.1, 2.0.0, 1.9 Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.4 Spinoff from here: http://mail-archives.apache.org/mod_mbox/lucene-java-user/200804.mbox/[EMAIL PROTECTED] 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]