Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 82086 invoked from network); 25 Jul 2007 00:08:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 00:08:34 -0000 Received: (qmail 28238 invoked by uid 500); 25 Jul 2007 00:08:30 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 28192 invoked by uid 500); 25 Jul 2007 00:08:30 -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 28179 invoked by uid 99); 25 Jul 2007 00:08:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 17:08:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [69.147.95.91] (HELO smtp128.plus.mail.sp1.yahoo.com) (69.147.95.91) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Jul 2007 17:08:27 -0700 Received: (qmail 98645 invoked from network); 25 Jul 2007 00:08:05 -0000 Received: from unknown (HELO ?192.168.1.101?) (nhira@cognocys.com@75.168.19.27 with plain) by smtp128.plus.mail.sp1.yahoo.com with SMTP; 25 Jul 2007 00:08:05 -0000 X-YMail-OSG: XKqJoJoVM1mua866Kirr6ec4vEiIRDHXxBvJQi10.oOJUNAIV1EB7PvqswKrwSyBL.jPy456kg-- Subject: Re: Fine Tuning Lucene implementation From: "N. Hira" Reply-To: nhira@cognocys.com To: java-user@lucene.apache.org In-Reply-To: References: <28F241F7-C4AD-414C-89D8-95AC22C0736B@apache.org> Content-Type: text/plain Organization: Cognocys, Inc. Date: Tue, 24 Jul 2007 19:08:03 -0500 Message-Id: <1185322083.4593.54.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Could you show us the relevant source from doBodySearch()? -h On Tue, 2007-07-24 at 19:58 -0400, Askar Zaidi wrote: > I ran some tests and it seems that the slowness is from Lucene calls when I > do "doBodySearch", if I remove that call, Lucene gives me results in 5 > seconds. otherwise it takes about 50 seconds. > > But I need to do Body search and that field contains lots of text. The field > is . How can I optimize that ? > > thanks, > Askar > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org