Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 6252 invoked from network); 23 May 2005 07:30:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 07:30:28 -0000 Received: (qmail 85483 invoked by uid 500); 23 May 2005 07:30:26 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 85426 invoked by uid 500); 23 May 2005 07:30:25 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 85413 invoked by uid 99); 23 May 2005 07:30:25 -0000 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 (hermes.apache.org: domain of lucenelist@danielnaber.de designates 80.67.18.13 as permitted sender) Received: from smtprelay01.ispgateway.de (HELO smtprelay01.ispgateway.de) (80.67.18.13) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2005 00:30:23 -0700 Received: (qmail 22305 invoked from network); 23 May 2005 07:30:20 -0000 Received: from unknown (HELO p54966C7D.dip.t-dialin.net) ([pbs]695637@[84.150.108.125]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 23 May 2005 07:30:20 -0000 From: Daniel Naber To: java-dev@lucene.apache.org Subject: Re: DO NOT REPLY [Bug 34995] - Contribution: LuceneIndexAccessor Date: Mon, 23 May 2005 09:31:03 +0200 User-Agent: KMail/1.8 References: <20050522181706.65416.qmail@web31105.mail.mud.yahoo.com> In-Reply-To: <20050522181706.65416.qmail@web31105.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200505230931.03762@danielnaber.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sunday 22 May 2005 20:17, Otis Gospodnetic wrote: > To deal with managing index-modifying access to the index I often use > code that acts as a facade to IndexReader/Writer and provides methods > such as index(....), optimize(), and delete(....). =C2=A0All of these > methods have index-modifying code inside a "synchronized > (_myDirInstanceHere)" block. That sounds quite useful. Any chance you can contribute this to Lucene? Regards Daniel =2D-=20 http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org