Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 56368 invoked from network); 4 Oct 2005 18:14:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2005 18:14:55 -0000 Received: (qmail 45055 invoked by uid 500); 4 Oct 2005 18:14:49 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 45027 invoked by uid 500); 4 Oct 2005 18:14:49 -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 45016 invoked by uid 99); 4 Oct 2005 18:14:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 11:14:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jjl@panix.com designates 166.84.1.72 as permitted sender) Received: from [166.84.1.72] (HELO mail1.panix.com) (166.84.1.72) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 11:14:52 -0700 Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail1.panix.com (Postfix) with ESMTP id 32E685889E for ; Tue, 4 Oct 2005 14:14:24 -0400 (EDT) Received: from [10.0.1.6] (pool-64-223-55-186.prov.east.verizon.net [64.223.55.186]) by mailspool3.panix.com (Postfix) with ESMTP id BD9463607E1 for ; Tue, 4 Oct 2005 14:14:23 -0400 (EDT) Mime-Version: 1.0 Message-Id: In-Reply-To: References: <434014AB.1040702@jalios.com> <4342A139.3050305@i-hypergrid.com> <4342A8E4.3030407@jalios.com> <4342ABB9.1090409@i-hypergrid.com> <4342B040.1020704@jalios.com> Date: Tue, 4 Oct 2005 14:14:15 -0400 To: java-user@lucene.apache.org From: "J.J. Larrea" Subject: Re: Renewing IndexSearcher on index change. Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Oops! Yes that's correct. Thanks for catching it... - J.J. At 10:33 AM -0700 10/4/05, Chris Hostetter wrote: >: // feebly try to prevent concurrent reentry problems >: IndexWriter w = writer; >: w = null; >: try { >: w.close(); > >Just to clarify for the folks at home, I'm pretty sure you ment... > > IndexWriter w = writer; > writer = null; > try { > w.close(); > >...correct? > >-Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org