Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 33929 invoked from network); 1 Aug 2009 17:03:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Aug 2009 17:03:43 -0000 Received: (qmail 95800 invoked by uid 500); 1 Aug 2009 17:03:45 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95725 invoked by uid 500); 1 Aug 2009 17:03:44 -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 95714 invoked by uid 99); 1 Aug 2009 17:03:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 17:03:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil123@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-yx0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 17:03:34 +0000 Received: by yxe3 with SMTP id 3so2969498yxe.29 for ; Sat, 01 Aug 2009 10:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0nYmg2FKX+whJWKJMLXTeUS8Hypc6F3iambxWBcJj8k=; b=fuwzDvSsxhWJeJSJrSxOTBwEoTxudKFhhCO05W9hLAOrS9WQ3e7eDQwuBnrmtmU014 xnXANdTj+b986iZT/Ofifn/QhDePgbcKHFbfVbfBxZHA1hcBTt45Nv1gNNS/GEnc5QWR sFl/I875NXFS9mzcjNQnz1dVmnDc+Dvp7FFlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CcF1svpY79FPVHPvTzRZz8hyowjUVPUDXzM/h49DI6OJbjcsZUoIRWGGsnFi9ds1PO 3rQ71Rrw2YOW58nmY7xwq0Jhtp4D6O1FT3L5iVXgw7ItiTShA/oxYPRDH7XR9ledx3R6 5A4B+Ok6S6UZ40IR5fBxm/Rn1KygAzgRH2594= MIME-Version: 1.0 Received: by 10.100.216.12 with SMTP id o12mr4252750ang.6.1249146193329; Sat, 01 Aug 2009 10:03:13 -0700 (PDT) In-Reply-To: <9ac0c6aa0908010208g757a9936vd1150bdec47bc9e9@mail.gmail.com> References: <9cafbc680907301111t4768704cy9e4b3092b3d74b17@mail.gmail.com> <4A722D75.9070806@aconex.com> <9ac0c6aa0907310234h798d406bg8cb23d620b022ef8@mail.gmail.com> <161DCF62-1E03-4F1B-A590-76ADD91D5434@mac.com> <9ac0c6aa0907311452q4f49f1aeua7314b6059b5973@mail.gmail.com> <2BC00C69-41B3-48B3-83E7-CBC6DB452CCC@mac.com> <9cafbc680907311701g7c8ff0f1n896c4bed2adda9c9@mail.gmail.com> <090CF9D7-5D59-47A5-AD2A-86D4BEC6CD15@mac.com> <9ac0c6aa0908010208g757a9936vd1150bdec47bc9e9@mail.gmail.com> Date: Sat, 1 Aug 2009 10:03:13 -0700 Message-ID: <9cafbc680908011003i7d7e8506u18b703a4ca0f8669@mail.gmail.com> Subject: Re: ThreadedIndexWriter vs. IndexWriter From: Phil Whelan To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Mike, It's Jibo, not me, having the problem. But thanks for the link. I was interested to look at the code. Will be buying the book soon. Phil On Sat, Aug 1, 2009 at 2:08 AM, Michael McCandless wrote: > > (Please note that ThreadedIndexWriter is source code available with > the upcoming revision to Lucene in Action.) > > Phil, is it possible you are using an older version of the book's > source code? =A0In particular, can you check whether your version of > ThreadedIndexWriter.java has this: > > =A0public void close(boolean doWait) throws CorruptIndexException, IOExce= ption { > =A0 =A0finish(); > =A0 =A0super.close(doWait); > =A0} > > (I vaguely remember that being missing from earlier releases, which > could explain what you're seeing). =A0If you are missing that, can you > download the current code from http://www.manning.com/hatcher3 and try > again? > > If that's not the problem... can you post the benchmark alg you are > using in each case? > > Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org