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

Andrzej Bialecki  updated SOLR-11037:
-------------------------------------
    Attachment: SOLR-11037.patch

Updated patch:
* reads system property during {{NodeConfig}} init
* provides {{NodeConfig.getSolrDataHome()}}
* modifies {{DirectoryFactory}} and {{CachingDirectoryFactory}} to use this 
method

Tests are passing - if there are no objections I'd like to commit this shortly.

> Add a method which returns the current solr.data.home directory without a 
> CoreDescriptor argument
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11037
>                 URL: https://issues.apache.org/jira/browse/SOLR-11037
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics, SolrCloud
>    Affects Versions: 7.0
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Andrzej Bialecki 
>              Labels: metrics
>             Fix For: 7.0
>
>         Attachments: SOLR-11037.patch, SOLR-11037.patch
>
>
> It'd be nice to have a method which returns the current solr.data.home 
> without needing to create a core descriptor first.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to