Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 14088 invoked from network); 22 Feb 2006 17:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 17:26:55 -0000 Received: (qmail 5248 invoked by uid 500); 22 Feb 2006 17:26:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 5057 invoked by uid 500); 22 Feb 2006 17:26:49 -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 5046 invoked by uid 99); 22 Feb 2006 17:26:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 09:26:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gusk@altrec.com designates 63.251.175.92 as permitted sender) Received: from [63.251.175.92] (HELO mta.altrec.com) (63.251.175.92) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 09:26:48 -0800 Received: from localhost (mta.altrec.com [127.0.0.1]) by mta.altrec.com (Postfix) with ESMTP id 05A2D7BB9C for ; Wed, 22 Feb 2006 09:26:19 -0800 (PST) Received: from mta.altrec.com ([127.0.0.1]) by localhost (mta.altrec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24083-07 for ; Wed, 22 Feb 2006 09:26:18 -0800 (PST) Received: from denali.altrec.com (arachne.altrec.com [63.251.175.11]) by mta.altrec.com (Postfix) with ESMTP id 0F8F37BB78 for ; Wed, 22 Feb 2006 09:26:18 -0800 (PST) Received: by DENALI with Internet Mail Service (5.5.2656.59) id ; Wed, 22 Feb 2006 09:27:36 -0800 Message-ID: <55903574BD75D311B8A0009027CCC22B0529DC9C@DENALI> From: Gus Kormeier To: java-user@lucene.apache.org Subject: IndexSearcher Date: Wed, 22 Feb 2006 09:27:35 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Maybe too general a question, but is there anything about creating an IndexSearcher( directory) object that would make the instantiation really slow? I have one index where the instantiation is very fast, to the point where I don't need to do any pooling. A new index I have created, takes a very long time to create the IndexSearcher object. With a 30mb index, it can take about 30 seconds just to instantiate an IndexSearcher(). It almost seems like it is reading the index at that point. The only difference between the indexes has been the # of fields indexed. The newer one only having one field indexed. Any ways to speed up that instantiation? Or do I have to use a pooling system? Thanks for any suggestions, -Gus --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org