RE: IndexReader.deleteDocument in Lucene 3.6

2012-05-25 Thread Edward W. Rouse
e does become an issue I might need to tweak this a bit, but it does ensure that a deletion is successful or it throws an exception. > -Original Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik > Seeley > Sent: Friday, May 25, 2012 12:40 PM >

Re: IndexReader.deleteDocument in Lucene 3.6

2012-05-25 Thread Yonik Seeley
On Fri, May 25, 2012 at 5:23 AM, Nikolay Zamosenchuk wrote: > IndexWriter.deleteDocument(..) is not final, > but doesn't return any result. Deleted terms are buffered for good performance, so at the time of IndexWriter.deleteDocument(Term) we don't know how many documents match the term. > Can a