On 2/21/06, Pierre Luc Dupont <[EMAIL PROTECTED]> wrote: > is it possible to open an IndexWriter and an IndexReader on the same > index, at the same time, > to do deleteTerm and addDocument?
No, it's not possible. You should batch things: do all your deletions, close the IndexReader, then open an IndexWriter and do all the addDocument calls. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]