Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 21841 invoked from network); 13 Jan 2010 19:24:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2010 19:24:00 -0000 Received: (qmail 47657 invoked by uid 500); 13 Jan 2010 19:23:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 47595 invoked by uid 500); 13 Jan 2010 19:23:57 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 47585 invoked by uid 99); 13 Jan 2010 19:23:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 19:23:57 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 19:23:49 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NV8oS-0003IE-Jp for java-user@lucene.apache.org; Wed, 13 Jan 2010 11:23:28 -0800 Message-ID: <27149158.post@talk.nabble.com> Date: Wed, 13 Jan 2010 11:23:28 -0800 (PST) From: Konstantyn Smirnov To: java-user@lucene.apache.org Subject: Re: NullPointerExc in CloseableThreadLocal... (Lucene 3.0.0) In-Reply-To: <9ac0c6aa1001130852y52896135pdbb2c6955fe7c0ce@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: injecteer@yahoo.com References: <27145825.post@talk.nabble.com> <9ac0c6aa1001130852y52896135pdbb2c6955fe7c0ce@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 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-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org