Re: IndexWriter.deleteDocuments(Term) vs IndexReader.deleteDocuments(Term)

2007-03-15 Thread Michael McCandless
"Antony Bowesman" <[EMAIL PROTECTED]> wrote: > The writer method does not return the number of deleted documents. Is > there a > technical reason why this is not done. > > I am planning to see about converting my batch deletions using > IndexReader to > IndexWriter, but I'm currently using the

IndexWriter.deleteDocuments(Term) vs IndexReader.deleteDocuments(Term)

2007-03-15 Thread Antony Bowesman
The writer method does not return the number of deleted documents. Is there a technical reason why this is not done. I am planning to see about converting my batch deletions using IndexReader to IndexWriter, but I'm currently using the return value to record stats. Does the following give th