Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 98897 invoked from network); 2 Aug 2009 17:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Aug 2009 17:52:57 -0000 Received: (qmail 38579 invoked by uid 500); 2 Aug 2009 17:53:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 38518 invoked by uid 500); 2 Aug 2009 17:53:00 -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 38508 invoked by uid 99); 2 Aug 2009 17:53:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 17:53:00 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.211.188] (HELO mail-yw0-f188.google.com) (209.85.211.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 17:52:49 +0000 Received: by ywh26 with SMTP id 26so3783214ywh.5 for ; Sun, 02 Aug 2009 10:52:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.150.17 with SMTP id c17mr7558165ybo.336.1249235547959; Sun, 02 Aug 2009 10:52:27 -0700 (PDT) In-Reply-To: <9cafbc680908011003i7d7e8506u18b703a4ca0f8669@mail.gmail.com> References: <9cafbc680907301111t4768704cy9e4b3092b3d74b17@mail.gmail.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> <9cafbc680908011003i7d7e8506u18b703a4ca0f8669@mail.gmail.com> Date: Sun, 2 Aug 2009 13:52:27 -0400 Message-ID: <9ac0c6aa0908021052t585a2ae5wc8e3d3ad613e3ef9@mail.gmail.com> Subject: Re: ThreadedIndexWriter vs. IndexWriter From: Michael McCandless 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 Woops sorry for the confusion! Mike On Sat, Aug 1, 2009 at 1:03 PM, Phil Whelan wrote: > 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, IOExc= eption { >> =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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org