Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 9285 invoked from network); 3 Oct 2008 16:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 16:19:44 -0000 Received: (qmail 19552 invoked by uid 500); 3 Oct 2008 16:19:26 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 19496 invoked by uid 500); 3 Oct 2008 16:19:25 -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 19468 invoked by uid 99); 3 Oct 2008 16:19:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 09:19:25 -0700 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 (athena.apache.org: domain of anshumg@gmail.com designates 209.85.217.13 as permitted sender) Received: from [209.85.217.13] (HELO mail-gx0-f13.google.com) (209.85.217.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 16:18:24 +0000 Received: by gxk6 with SMTP id 6so2903320gxk.5 for ; Fri, 03 Oct 2008 09:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=8lzidi0yqLHWJD2oYy2Q4dFWiPKOGTkclWei3NXwMxI=; b=frjWPYMjhDOHx6xxRObWTuN0NBds2zY3feRVXFzDEnyTCk8k1f3Z1kScigHlqrw2fC H7dmRIiE4b5MrYXBdOS7AdZuZLVf4Vx46SRgU5KtcPoQgWwVMNn/S/aQ5u6H8uZlUGDe u3tewZ/rfpm8AnwQHRGszn/7Pxl2DIfKAxU/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=bzeoxDI9vvwecrMGwaYKhBaVWwOf5pzp/H2zK7BEs3tO3059/GATzBMb8lHfwZNAos daM5JlaxwWwAXC4XjhT7mm3Jc9hTyAn/l0GkkdITDPKuZQ/OJl8g0/xBLaVtPxmxeiYc utYX+Ii5kzcyUBfb+FWwgsHeOEsl8b2DFIXA0= Received: by 10.142.147.20 with SMTP id u20mr462049wfd.47.1223050737439; Fri, 03 Oct 2008 09:18:57 -0700 (PDT) Received: by 10.142.49.5 with HTTP; Fri, 3 Oct 2008 09:18:57 -0700 (PDT) Message-ID: <867513fe0810030918m1b3ecd64k98ed01214caaaa5d@mail.gmail.com> Date: Fri, 3 Oct 2008 21:48:57 +0530 From: Anshum To: java-user@lucene.apache.org Subject: Re: Single searcher vs Multi Searcher In-Reply-To: <02ed01c9253a$c5ecef60$330bc30a@sv.us.sonicwall.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21884_20487011.1223050737452" References: <02ed01c9253a$c5ecef60$330bc30a@sv.us.sonicwall.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_21884_20487011.1223050737452 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Ganesh, I have experimented with sharded indexes and they seem to benefit me(atleast in my case). I would like to know a few things before I answer your question: 1. Do you have a reasonable criteria ( a calculated one) to shard the indexes? 2. How do you plan to split the index? Is it going to be document based (which I guess it should be as otherwise you would have to build a complete distributed system) 3. Do you plan to put your indexes on the RAM or on (physically) seperate HDDs? Though all said and done, sharded indexes are a good approach, if done the right way. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw............ On Fri, Oct 3, 2008 at 3:01 PM, Ganesh wrote: > Hello all, > > My indexing is growing by 1 million records per day and the memory > consumption of the searcher object is quite high. > > There are different opinion in the groups. Few suggest to use single > database and few to use sharding. My Database has 10 million records now and > it might go till 30 million or more. I plan to shard the index. but > Multisearcher will give me benifit. > > Regards > Ganesh > > > Send instant messages to your online friends http://in.messenger.yahoo.com > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_21884_20487011.1223050737452--