Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 31269 invoked from network); 15 Feb 2007 06:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 06:23:04 -0000 Received: (qmail 67081 invoked by uid 500); 15 Feb 2007 06:23:12 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 66929 invoked by uid 500); 15 Feb 2007 06:23:10 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 66917 invoked by uid 99); 15 Feb 2007 06:23:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 22:23:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.39.228] (HELO web50315.mail.yahoo.com) (206.190.39.228) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Feb 2007 22:22:59 -0800 Received: (qmail 75128 invoked by uid 60001); 15 Feb 2007 06:22:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=IG50d8yZBXaRJDsPWEQFPpmzasvMabU9/4V4n6J09LexUSqTWrJo9WlgjPoY0XY71wPRmIleSiJk2akiDSW4RN/FwzRTidZ+QHddC8mWbpXNAuJ0s055QRhKjpiDaJpAYSiIqBymEUZ5UmsbCfemWo57+Bvki+uAIey8hGU5ICs=; X-YMail-OSG: p4xkX14VM1m9wmKH.6mdbTqLs.EBDkRqZMXWz6o1j1V_6tQrbz0arw6CVpu3Kx0P2w-- Received: from [58.62.87.234] by web50315.mail.yahoo.com via HTTP; Wed, 14 Feb 2007 22:22:37 PST X-Mailer: YahooMailRC/368.8 YahooMailWebService/0.6.132.8 Date: Wed, 14 Feb 2007 22:22:34 -0800 (PST) From: Otis Gospodnetic Subject: Re: Lucene indexes in memory To: general@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <697076.74452.qm@web50315.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Deepa,=0A=0AYou probably want to ask on java-user@lucene.... list.=0ALucene= reads in the whole .tii index file (see the Lucene for explanations of var= ious Lucene index files).=0AIt doesn't read in *all* the index files, as th= ose could be quite big.=0AYou *can* read in your index in a RAMDirectory vi= a FSDirectory, though, and it sounds like that is what you are after.=0A=0A= Otis=0A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .=0ASimpy= -- http://www.simpy.com/ - Tag - Search - Share=0A=0A----- Original = Message ----=0AFrom: Deepa Paranjpe =0ATo: general@lu= cene.apache.org=0ASent: Wednesday, February 14, 2007 2:32:53 PM=0ASubject: = Lucene indexes in memory=0A=0AHi all,=0A=0AI want to understand how lucene = searches its index -- does it load the whole=0Aindex into memory at once? I= s there any way to make sure that it does so.=0A=0AI want to optimize maxim= ally on the search time required by lucene on over=0A~7M short documents. T= he queries that I deal are 6 to 7 tokens on an=0Aaverage.=0A=0AYour help on= this will be appreciated.=0A=0A-Deepa=0A=0A=0A=0A=0A