Thanks for the answer Mike indeed it is possible, but practically...
I start the loop immediately after searcher.search(), and with my index size of 3 MB, the whole operation takes max 100 ms. Given the rate of like 50 updates - addDocument()/expungeDeletes()/IR.reopen() per day, the probability is really low, I think, because the update takes also about 100 ms... Anyway, it would be worth trying some IR reopen lock. Do you have any idea on that? ----- Konstantyn Smirnov, CTO http://www.poiradar.ru www.poiradar.ru http://www.poiradar.com.ua www.poiradar.com.ua http://www.poiradar.com www.poiradar.com http://www.poiradar.de www.poiradar.de -- View this message in context: http://old.nabble.com/NullPointerExc-in-CloseableThreadLocal...-%28Lucene-3.0.0%29-tp27145825p27149158.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org