[ 
https://issues.apache.org/jira/browse/SOLR-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stu Hood updated SOLR-336:
--------------------------

    Attachment: jndi-data-dir.patch

Here is a patch to allow the data directory to be set either by JNDI or a 
system property.

I wasn't sure whether to put the logic in core/SolrCore or core/Config, but 
since core/Config already imported the necessary libraries for JNDI, and I 
added it there.

> Allow setting solr.data.dir with JNDI
> -------------------------------------
>
>                 Key: SOLR-336
>                 URL: https://issues.apache.org/jira/browse/SOLR-336
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Stu Hood
>            Priority: Minor
>         Attachments: jndi-data-dir.patch
>
>
> I would like to be able set the solr.data.dir with JNDI, as I can for the 
> solr.home property. Currently the data directory is only looked up in the 
> ${solr.home}/conf/solrconfig.xml file, or as a parameter passed into the 
> SolrCore(String, IndexSchema) constructor.
> This allows more options for setting the data directory, such as from within 
> a Servlet container's Context fragment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to