Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 74932 invoked from network); 24 Nov 2008 21:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2008 21:54:07 -0000 Received: (qmail 77568 invoked by uid 500); 24 Nov 2008 21:54:15 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 77526 invoked by uid 500); 24 Nov 2008 21:54:15 -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 77517 invoked by uid 99); 24 Nov 2008 21:54:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 13:54:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 21:52:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AF9A234C29D for ; Mon, 24 Nov 2008 13:53:44 -0800 (PST) Message-ID: <391914096.1227563624371.JavaMail.jira@brutus> Date: Mon, 24 Nov 2008 13:53:44 -0800 (PST) From: "Doug Cutting (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1451) Can't create NIOFSDirectory w/o setting a system property In-Reply-To: <485826773.1226521544494.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650344#action_12650344 ] Doug Cutting commented on LUCENE-1451: -------------------------------------- A bit of history, if any care. Originally Lucene synchronized only on the Directory to coordinate index writes. This was the primary motivation for the Directory cache. http://tinyurl.com/62ugs9#l120 Later, lock files were added, but Directory synchronization remained as an optimization, to avoid hitting the filesystem when coordinating threads in the same process. http://tinyurl.com/5dzsyq#l125 Now Directory-based synchronization has been dropped entirely, so the Directory cache can now go too. > Can't create NIOFSDirectory w/o setting a system property > --------------------------------------------------------- > > Key: LUCENE-1451 > URL: https://issues.apache.org/jira/browse/LUCENE-1451 > Project: Lucene - Java > Issue Type: Bug > Reporter: Yonik Seeley > Assignee: Yonik Seeley > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1451.patch, LUCENE-1451.patch, LUCENE-1451.patch > > > NIOFSDirectory.getDirectory() returns a FSDirectory object -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org