Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 58542 invoked from network); 8 Feb 2007 05:41:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 05:41:26 -0000 Received: (qmail 54690 invoked by uid 500); 8 Feb 2007 05:41:27 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 54658 invoked by uid 500); 8 Feb 2007 05:41:27 -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 54645 invoked by uid 99); 8 Feb 2007 05:41:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 21:41:27 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mnrz57@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 21:41:17 -0800 Received: by nf-out-0910.google.com with SMTP id i2so664758nfe for ; Wed, 07 Feb 2007 21:40:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=q1di8LaxwB31WJVCqRfZll8J2sHNjlcjnUEdPunq1uz77tbkuA0cgSEVS8X57BZ1WQE6kf/F/nMM6yXhf4rPM2nJxHVeLk1X7OdHrlpeTJLndTDoIXUHsTFfC65jmJTT95nyINWj0cxQDNn8YHRjbtXYz/QSPddWVcR91dC4XLE= Received: by 10.82.134.12 with SMTP id h12mr1289803bud.1170913256333; Wed, 07 Feb 2007 21:40:56 -0800 (PST) Received: by 10.82.163.2 with HTTP; Wed, 7 Feb 2007 21:40:56 -0800 (PST) Message-ID: <34b8543c0702072140t1c396ffcl6160d7c176244e4@mail.gmail.com> Date: Thu, 8 Feb 2007 09:10:56 +0330 From: "Mohammad Norouzi" To: java-user@lucene.apache.org Subject: Re: Increase performance using Pool of IndexSearchers? In-Reply-To: <10039155.231170866547848.JavaMail.root@dell.rhoderunner.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24971_2172535.1170913256305" References: <10039155.231170866547848.JavaMail.root@dell.rhoderunner.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24971_2172535.1170913256305 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi would you tell how we can create a searcher pool. I get interested in your idea. thanks On 2/7/07, spamsucks wrote: > > I currently am sharing my IndexSearcher across multiple requests as a > static > object. > > While I understand that the IndexSearcher is threadsafe, this does not > necessarily mean that it's multi-threaded capable. I was wondering if > there > is any thread blocking going on between requests? > > Would it improve performance to create a pool of IndexSearchers? > > Thanks! > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > -- Regards, Mohammad ------=_Part_24971_2172535.1170913256305--