From lucene-user-return-1657-qmlist-jakarta-archive-lucene-user=jakarta.apache.org@jakarta.apache.org Wed May 08 05:13:26 2002 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 37014 invoked from network); 8 May 2002 05:13:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 May 2002 05:13:26 -0000 Received: (qmail 14610 invoked by uid 97); 8 May 2002 05:13:35 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 14569 invoked by uid 97); 8 May 2002 05:13:34 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 14557 invoked by uid 98); 8 May 2002 05:13:33 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Wed, 8 May 2002 01:13:30 -0400 To: Lucene Users List Subject: Re: Concurrency in Lucene. Message-ID: <20020508011330.A4197@darksleep.com> Reply-To: puff@darksleep.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i From: puffmail@darksleep.com (Steven J. Owens) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Flavio, On Tue, May 07, 2002 at 12:14:56PM -0300, Flavio Arruda wrote: > I?m starting a new project using lucene where all forms filled by > users are indexed and I ?m wondering about the possibility of > concurrency problems... Have someone got concurrency problems using > lucene? Any advice or experience's share will be inevaluable!! In general, Doug has stated and people have found Lucene to be thread safe. Specifically, the index searcher is thread safe and the index writer is thread safe. The query parser is *not* thread safe (so each thread using the index should have its own query parser). The index writer is thread safe, so you can update the index while people are searching it. However, you then have to make sure that the threads with open index searchers close them and open new ones, to get the newly updated data. Steven J. Owens puff@darksleep.com -- To unsubscribe, e-mail: For additional commands, e-mail: