Hello,

Does IndexWriter (or somewhere else) have the method such that
it gets the number of updated documents before commit?

I have an optimized index and I'm using iw.updateDocument(Term,Document)
with the index, and before commit, I'd like to know the number of updated
documents from IndexWriter so that I can rollback if something goes wrong.

Any ideas?

Thanks,

Koji
-- 
http://www.rondhuit.com/en/

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to