Re: IndexModifier's docCount is inconsistent

2007-04-09 Thread Cheolgoo Kang
Thanks Otis, I've already made some modification to get the number of deleted docs in IndexWriter.docCount() and using it. It's works great but the problem is not being aware of deletes within IndexWriter itself. I have to re-open the IndexWriter to get the updated number of deletes. Haha! (It's

Re: IndexModifier's docCount is inconsistent

2007-04-09 Thread Otis Gospodnetic
I have actually added a method to get the number of deleted documents to all *Reader classes just the other day. I'll provide a patch soon. It still won't make the IndexWriter aware of deletes, but will that help you? Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- h