Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 30528 invoked from network); 19 Feb 2010 14:40:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 14:40:12 -0000 Received: (qmail 71321 invoked by uid 500); 19 Feb 2010 14:40:10 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 71287 invoked by uid 500); 19 Feb 2010 14:40:10 -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 71277 invoked by uid 99); 19 Feb 2010 14:40:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:40:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian.lea@gmail.com designates 209.85.218.217 as permitted sender) Received: from [209.85.218.217] (HELO mail-bw0-f217.google.com) (209.85.218.217) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:40:02 +0000 Received: by bwz9 with SMTP id 9so104242bwz.5 for ; Fri, 19 Feb 2010 06:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=+gHh34b0twWCwyQ+sI+3tF7SOzV235byovKmVX/eHcE=; b=PqSbbkVU0b52lqpLLfkmMhDQXnpFm8BilbKWZIQ4Ag8az74FyyXm1JWcKxNeFRNVLQ eJz2fTxpK0PJmQioCnpKg5V/hHwT8gai3rTxqX66HFUa/3NOFKYGUtAZLk0YqBY7CtcB gKy/AxQF6fIkNn5WPOVxQrnsJiKlgYQ9CkqqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=o/3QeYkKFrG1I+D8fxbkTztdgzkiG8y8iK5nUJlzV55jrcai07PTGjQeSZSTQQ8Z/T a2ymGLNhblL9aKo+tXjUXqalDmaOtSuAjf2T6D1Fm0CYol/yv5mAhouVshvPASrjQtUR H7fd+LnZjdQaT3aa7fiGCt5snZp5r00r3UoJQ= MIME-Version: 1.0 Received: by 10.204.29.17 with SMTP id o17mr3357189bkc.184.1266590381141; Fri, 19 Feb 2010 06:39:41 -0800 (PST) In-Reply-To: <5b81df6c1002190618q6d438dbm160173feb639cb1b@mail.gmail.com> References: <5b81df6c1002190618q6d438dbm160173feb639cb1b@mail.gmail.com> From: Ian Lea Date: Fri, 19 Feb 2010 14:39:16 +0000 Message-ID: <8c4e68611002190639w2a1e5d1dgcb354a9cb7ae8472@mail.gmail.com> Subject: Re: RAMDirectory and inner Structure To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi > currently I'm working on a students project including a lucene index. It's a > kind of search engine working on extracted data from the web. > It's working pretty good, but now I'm curious about two things: > - when is it usefull to use a RAMDirectory? Is there a number of documents > in an index that will make it too slow when not using a RAMDirectory or is > there any other hint? Lucene is rarely too slow! Basically you can use RAMDirectory for transient indexes that fit in RAM. Anything else and you'll need to look elsewhere, presumably to FSDirectory or maybe MMapDirectory > - how are lucene indexes build behind the curtain? How is one organized > inside? I could not find anything about its inner structure. See http://lucene.apache.org/java/3_0_0/fileformats.html -- Ian. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org