On Fri, Feb 29, 2008 at 7:05 PM, Tyler V <[EMAIL PROTECTED]> wrote: > Mike -- Thanks so much for the prompt reply. > > You are right, we are accessing these documents with multiple threads > (and have always been). However, I am wondering if the increased > indexing speed in 2.3 has revealed a hidden concurrency issue.
You are modifying the documents from multiple threads? My fault... I removed the synchronization on Document (changed from Vector to ArrayList). It was never guaranteed to be thread-safe for modification, and almost never makes sense without external synchronization anyway. If you really need to modify a single document from multiple threads, please synchronize. That explains the first exception, but no the second. I assume you aren't still changing the document while it's being indexed? It appears as if the original exception causes corruption. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]