Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 11912 invoked from network); 16 Dec 2008 05:13:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 05:13:18 -0000 Received: (qmail 86755 invoked by uid 500); 16 Dec 2008 05:13:23 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86730 invoked by uid 500); 16 Dec 2008 05:13:23 -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 86719 invoked by uid 99); 16 Dec 2008 05:13:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 21:13:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [70.158.118.30] (HELO england.pageplanet.com) (70.158.118.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 05:12:58 +0000 Received: from [192.168.1.122] (61.247.251.10) by england.pageplanet.com with ESMTP (Eudora Internet Mail Server 3.1.4) for ; Tue, 16 Dec 2008 00:12:42 -0500 Message-ID: <494738A8.3020609@tachyontech.net> Date: Tue, 16 Dec 2008 10:42:08 +0530 From: Prafulla Kiran User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Lucene Data Structures References: <4945E7ED.4070002@tachyontech.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Well, I have seen this link many times before. It doesn't really explain the data structures part of it. Perhaps I should have asked my question this way: "What data structures are being used by Lucene to read the posting lists from the index ?" . My guess is that a hash table is being used for reading the postings of each term, with the key being the term and the hash value being a multi level skip list. Please correct me if I am wrong. Regards, Prafulla Grant Ingersoll wrote: > http://lucene.apache.org/java/2_4_0/fileformats.html > > On Dec 15, 2008, at 12:15 AM, Prafulla Kiran wrote: > >> Hi Everybody, >> >> Could someone please explain the actual data structures being used by >> Lucene for storing the postings list in the index. I see a file >> called MultileveSkipListReader and MultiLevelSkipListWriter. Is >> lucene using Multi-level skip lists behind the scenes, for >> maintaining the index ? I want to understand clearly the actual data >> structure being used by lucene for storing the index and postings >> list, so that I can deduce the complexity for reading from that >> datastructure and decide whether my application would scale as per my >> requirements while using Lucene. So, someone please give me some >> pointers to the data structures being used by Lucene . >> >> TIA, >> Prafulla >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> > > -------------------------- > Grant Ingersoll > > Lucene Helpful Hints: > http://wiki.apache.org/lucene-java/BasicsOfPerformance > http://wiki.apache.org/lucene-java/LuceneFAQ > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.18/1848 - Release Date: 12/14/2008 12:28 PM > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org