Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 BAE82FDD8 for ; Wed, 20 Mar 2013 14:25:56 +0000 (UTC) Received: (qmail 72125 invoked by uid 500); 20 Mar 2013 14:13:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 72046 invoked by uid 500); 20 Mar 2013 14:13:17 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 72013 invoked by uid 99); 20 Mar 2013 14:13:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 14:13:17 +0000 Date: Wed, 20 Mar 2013 14:13:16 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4848) Fix Directory implementations to use NIO2 APIs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607632#comment-13607632 ] Robert Muir commented on LUCENE-4848: ------------------------------------- After reviewing the patch, my main concern is the generics on FSIndexInput. This thing really buys us very little... and adding a generic parameter makes it not worth the trouble IMO. So maybe we should just nuke this thing completely and let NIO and SimpleFS just be their own thing. (I caused the current situation, but i at least argue its an improvement over NIOFS *extends* SimpleFS, which is how it was before). > Fix Directory implementations to use NIO2 APIs > ---------------------------------------------- > > Key: LUCENE-4848 > URL: https://issues.apache.org/jira/browse/LUCENE-4848 > Project: Lucene - Core > Issue Type: Task > Reporter: Michael Poindexter > Assignee: Uwe Schindler > Priority: Minor > Attachments: jdk7directory.zip, LUCENE-4848-MMapDirectory.patch, LUCENE-4848.patch, LUCENE-4848.patch, LUCENE-4848.patch, LUCENE-4848.patch, LUCENE-4848.patch, LUCENE-4848.patch.txt > > > I have implemented 3 Directory subclasses using NIO2 API's (available on JDK7). These may be suitable for inclusion in a Lucene contrib module. > See the mailing list at http://lucene.markmail.org/thread/lrv7miivzmjm3ml5 for more details about this code and the advantages it provides. > The code is attached as a zip to this issue. I'll be happy to make any changes requested. I've included some minimal smoke tests, but any help in how to use the normal Lucene tests to perform more thorough testing would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org