> From: Avi Drissman [mailto:[EMAIL PROTECTED]] > > But if I need to do a deletion before every addition, then there's > the overhead of all those reader and writer creations. There's no way > around it?
Batch your deletions, then batch your additions. If you need these changes to appear atomically to searchers, do not re-open the IndexReader that you're using for searching until you have closed the IndexWriter. Doug -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
