Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 67314 invoked from network); 5 Oct 2005 17:14:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2005 17:14:42 -0000 Received: (qmail 80844 invoked by uid 500); 5 Oct 2005 14:21:18 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80800 invoked by uid 500); 5 Oct 2005 14:21:18 -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 80769 invoked by uid 99); 5 Oct 2005 14:21:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 07:21:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.35.35.7] (HELO mailgw3a.lmco.com) (192.35.35.7) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 07:21:21 -0700 Received: from emss04g01.ems.lmco.com (relay4.ems.lmco.com [166.17.13.122]) by mailgw3a.lmco.com (8.12.10/8.12.10) with ESMTP id j95EKtbW005984 for ; Wed, 5 Oct 2005 10:20:55 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1X6 #30884) id <0INW0090156VR3@lmco.com> for java-user@lucene.apache.org; Wed, 05 Oct 2005 10:20:55 -0400 (EDT) Received: from EMSS10M01.us.lmco.com ([158.187.0.150]) by lmco.com (PMDF V6.1-1X6 #30884) with ESMTP id <0INW000YP56UN5@lmco.com> for java-user@lucene.apache.org; Wed, 05 Oct 2005 10:20:55 -0400 (EDT) Received: from EMSS10M03.us.lmco.com ([158.187.0.148]) by EMSS10M01.us.lmco.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 05 Oct 2005 10:20:54 -0400 Date: Wed, 05 Oct 2005 10:20:31 -0400 From: "Mordo, Aviran (EXP N-NANNATEK)" Subject: RE: IndexWriter.optimize() need to much time. To: java-user@lucene.apache.org Message-id: <92A278501EF50444AD3EE1FFB51219550BCE3987@emss10m03.rck.atm.lmco.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Thread-Topic: IndexWriter.optimize() need to much time. thread-index: AcXJtpeDHCBiFDU2QWuaHb1nL2sBuAAATMLg Content-Class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 05 Oct 2005 14:20:54.0535 (UTC) FILETIME=[FF0FC970:01C5C9B7] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The index is available for search even during optimization, you should = not have any problem with that. Aviran http://www.aviransplace.com -----Original Message----- From: Eric Louvard [mailto:eric.louvard@hauk-sasko.de]=20 Sent: Wednesday, October 05, 2005 10:10 AM To: java-user@lucene.apache.org Subject: IndexWriter.optimize() need to much time. Hello, my problem is that IndexWriter.optimize() take 20 minutes. OK it is not = a lot of time, but I can't allow me to block the system such a long time = :-(. I don't know when I can take the time for optimize(). Has someone allready find a workarround for this problem ? Is it possible to make a sleep in the 'optimize() while' so that the = index is avaible for another Thread ? Would it be usefull ? thanks =C9ric. --------------------------------------------------------------------- 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