Return-Path: X-Original-To: apmail-lucene-lucene-net-dev-archive@www.apache.org Delivered-To: apmail-lucene-lucene-net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3CB66E26 for ; Tue, 14 Jun 2011 22:19:08 +0000 (UTC) Received: (qmail 63714 invoked by uid 500); 14 Jun 2011 22:19:08 -0000 Delivered-To: apmail-lucene-lucene-net-dev-archive@lucene.apache.org Received: (qmail 63684 invoked by uid 500); 14 Jun 2011 22:19:08 -0000 Mailing-List: contact lucene-net-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucene.apache.org Delivered-To: mailing list lucene-net-dev@lucene.apache.org Received: (qmail 63676 invoked by uid 99); 14 Jun 2011 22:19:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 22:19:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 22:19:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 59593416CB4 for ; Tue, 14 Jun 2011 22:18:47 +0000 (UTC) Date: Tue, 14 Jun 2011 22:18:47 +0000 (UTC) From: "Digy (JIRA)" To: lucene-net-dev@lucene.apache.org Message-ID: <1638901290.4660.1308089927362.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <782509168.3424.1307990451547.JavaMail.tomcat@hel.zones.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Subject: [Lucene.Net] [jira] [Commented] (LUCENENET-425) MMapDirectory implementation [ https://issues.apache.org/jira/browse/LUCENENET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049473#comment-13049473 ] Digy commented on LUCENENET-425: -------------------------------- OK, I think it will be better to mark MMapDirectory as unimplemented like NIOFSDirectory. DIGY > MMapDirectory implementation > ---------------------------- > > Key: LUCENENET-425 > URL: https://issues.apache.org/jira/browse/LUCENENET-425 > Project: Lucene.Net > Issue Type: New Feature > Affects Versions: Lucene.Net 2.9.4g > Reporter: Digy > Priority: Trivial > Fix For: Lucene.Net 2.9.4g > > Attachments: MMapDirectory.patch > > > Since this is not a direct port of MMapDirectory.java, I'll put it under "Support" and implement MMapDirectory as > {code} > public class MMapDirectory:Lucene.Net.Support.MemoryMappedDirectory > { > } > {code} > If a Mem-Map can not be created(for ex, if the file is too big to fit in 32 bit address range), it will default to FSDirectory.FSIndexInput > In my tests, I didn't see any performance gain in 32bit environment and I consider it as better then nothing. > I would be happy if someone could send test results on 64bit platform. > DIGY -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira