Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 63192 invoked from network); 28 Apr 2009 13:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Apr 2009 13:14:54 -0000 Received: (qmail 17299 invoked by uid 500); 28 Apr 2009 13:14:53 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 17237 invoked by uid 500); 28 Apr 2009 13:14:53 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 17227 invoked by uid 99); 28 Apr 2009 13:14:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 13:14:53 +0000 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; Tue, 28 Apr 2009 13:14:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8747C234C004 for ; Tue, 28 Apr 2009 06:14:30 -0700 (PDT) Message-ID: <45491950.1240924470552.JavaMail.jira@brutus> Date: Tue, 28 Apr 2009 06:14:30 -0700 (PDT) From: "Mark Miller (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-465) Add configurable DirectoryProvider so that alternate Directory implementations can be specified via solrconfig.xml In-Reply-To: <29475349.1201100914491.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-465: ----------------------------- Attachment: SOLR-465.patch changes made > Add configurable DirectoryProvider so that alternate Directory implementations can be specified via solrconfig.xml > ------------------------------------------------------------------------------------------------------------------ > > Key: SOLR-465 > URL: https://issues.apache.org/jira/browse/SOLR-465 > Project: Solr > Issue Type: New Feature > Affects Versions: 1.3 > Reporter: TJ Laurenzo > Assignee: Yonik Seeley > Fix For: 1.4 > > Attachments: SOLR-465-fixes.patch, SOLR-465.patch, SOLR-465.patch, SOLR-465.patch, SOLR-465.patch, solr-directory-provider.patch > > Original Estimate: 0.25h > Remaining Estimate: 0.25h > > Solr is presently hard-coded to use the FSDirectory implementation in Lucene. Other Directory implementations are possible. This patch creates a new DirectoryProvider interface and extends SolrCore to load an implementation of it from solrconfig.xml (if specified). If not specified, then it will fallback to the FSDirectory. > A DirectoryProvider plugin can be configured in solrconfig.xml with the following XML: > > > > This patch was created against solr trunk checked out on 11/20/2007. Most of it is new code and should apply cleanly or with minor relocation. If it does not, let me know and I will update. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.