Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 97138 invoked from network); 11 Jun 2009 09:39:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 09:39:09 -0000 Received: (qmail 43234 invoked by uid 500); 11 Jun 2009 09:39:20 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 43157 invoked by uid 500); 11 Jun 2009 09:39:20 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 43121 invoked by uid 99); 11 Jun 2009 09:39:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 09:39:20 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 09:39:09 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id BC1E5D36004 for ; Thu, 11 Jun 2009 11:38:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OStDLH1JHc-7 for ; Thu, 11 Jun 2009 11:38:38 +0200 (CEST) Received: from VEGA (unknown [134.102.249.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id A7560D3601B for ; Thu, 11 Jun 2009 11:34:10 +0200 (CEST) From: "Uwe Schindler" To: References: <85d3c3b60906102212r5cdf39b7t63d3efc906e3c9a5@mail.gmail.com> <9ac0c6aa0906110224p2c395f32g93ba814e46fa32cc@mail.gmail.com> Subject: RE: MMap certain files, leave the rest to the regular dir Date: Thu, 11 Jun 2009 11:34:09 +0200 Message-ID: <4B3DF5057D6A4FC09170C108059EF426@VEGA> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <9ac0c6aa0906110224p2c395f32g93ba814e46fa32cc@mail.gmail.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-index: AcnqdpTIJpnRHheZQ7W6zx10VXhnZgAAQ00A X-Virus-Checked: Checked by ClamAV on apache.org This was my first idea, when I read the subject. The solution is FileSwitchDirectory. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Michael McCandless [mailto:lucene@mikemccandless.com] > Sent: Thursday, June 11, 2009 11:25 AM > To: java-dev@lucene.apache.org > Subject: Re: MMap certain files, leave the rest to the regular dir > > Could we use FileSwitchDirectory to achieve that? > > Mike > > On Thu, Jun 11, 2009 at 1:12 AM, Jason > Rutherglen wrote: > > On the topic of MMaping files. Would a Directory implementation > > that transparently MMaps only certain files be interesting? It > > could MMap files that are accessed frequently (term dict, > > postings), as opposed to files such as docstores that are > > accessed less frequently. This could be built using LUCENE-1618 > > so maybe this idea is just a benchmark. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org