Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 86551 invoked from network); 12 May 2007 01:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 May 2007 01:19:43 -0000 Received: (qmail 30264 invoked by uid 500); 12 May 2007 01:19:45 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29214 invoked by uid 500); 12 May 2007 01:19:43 -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 29199 invoked by uid 99); 12 May 2007 01:19:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 18:19:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Andreas.Guther@markettools.com designates 72.5.112.150 as permitted sender) Received: from [72.5.112.150] (HELO mvmail04.markettools.com) (72.5.112.150) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 18:19:36 -0700 Received: from WDCCPMAIL01.markettools.com ([10.64.64.33]) by mvmail04.markettools.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 11 May 2007 18:19:14 -0700 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: IndexReader.isCurrent very slow in 2.1 Date: Fri, 11 May 2007 18:19:13 -0700 Message-ID: <3FB08D6A21B3EC4D8749EF6D9E626278013447DD@WDCCPMAIL01.markettools.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: IndexReader.isCurrent very slow in 2.1 Thread-Index: AceT9qZ66ueBuctUTFeoPt0/Zq0CqAAPC3tw References: <3FB08D6A21B3EC4D8749EF6D9E626278012E5E66@WDCCPMAIL01.markettools.com> <1178904891.28048.1189357841@webmail.messagingengine.com> From: "Andreas Guther" To: X-OriginalArrivalTime: 12 May 2007 01:19:14.0577 (UTC) FILETIME=[8DC02010:01C79433] X-Virus-Checked: Checked by ClamAV on apache.org Chris, I have optimized our index directories using the compound index format. I have also moved the index directories for testing purposes local to the search process (before it was over network and shared NTFS file system). Now the time for getting the isCurrent information is negligible, i.e. less than 10 millis per call. Thanks for your input. Andreas -----Original Message----- From: Chris Hostetter [mailto:hossman_lucene@fucit.org]=20 Sent: Friday, May 11, 2007 11:03 AM To: java-user@lucene.apache.org Subject: Re: IndexReader.isCurrent very slow in 2.1 : Are there are large number of files in your index directory? and is there any correlation between the number files matching segment* and the time isCurrent taks? it would also be handy to know what filesystem you use as well ... directory listings may be more expensive on some filesystems then others. -Hoss --------------------------------------------------------------------- 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