Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23C29BB74 for ; Sat, 31 Dec 2011 20:38:27 +0000 (UTC) Received: (qmail 63655 invoked by uid 500); 31 Dec 2011 20:38:24 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 63615 invoked by uid 500); 31 Dec 2011 20:38:24 -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 63607 invoked by uid 99); 31 Dec 2011 20:38:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2011 20:38:24 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zhoucheng2008@gmail.com designates 209.85.212.48 as permitted sender) Received: from [209.85.212.48] (HELO mail-vw0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2011 20:38:17 +0000 Received: by vbbfa15 with SMTP id fa15so14801830vbb.35 for ; Sat, 31 Dec 2011 12:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=RMMGX9iIujviBucGvJU1V7KQIbru0WR78VomfAtPFbU=; b=WCc1vtqJUe8ZzN+9ebEZpVvvUP/rwMnEaxh/w+A6xbkvcPGbB0mT3viLLpcdM31356 KVvXoHHoJVPJiLH67T16lrmHG5qqZAIjqBSo07X42MenwqT6k2dRxb/7GtMCA6XVOZ+r PF1YAQ187z+XpmSzymNrBpE4HqUKNHISC6V9o= MIME-Version: 1.0 Received: by 10.52.74.163 with SMTP id u3mr20731074vdv.91.1325363876443; Sat, 31 Dec 2011 12:37:56 -0800 (PST) Received: by 10.52.18.141 with HTTP; Sat, 31 Dec 2011 12:37:56 -0800 (PST) Date: Sat, 31 Dec 2011 15:37:56 -0500 Message-ID: Subject: How to use RAMDirectory more efficiently From: Cheng To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf3071c8cc0db59e04b56953e8 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071c8cc0db59e04b56953e8 Content-Type: text/plain; charset=ISO-8859-1 Hi, Suppose that we have a huge amount of indices on hard drives but working in RAMDirectory is a must, how can we decide which part of the indices to be loaded into RAM, how to modify the indices, and when and how to synchronize the indices with those on hard drives? Any thoughts? Thanks! --20cf3071c8cc0db59e04b56953e8--