[
https://issues.apache.org/jira/browse/SOLR-11037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-11037:
-------------------------------
Attachment: SOLR-11037.patch
Attaching work in progress patch.
It adds static method {{SolrResourceLoader#locateSolrDataHome}} which will
return the data.home {{Path}} if it is globally defined in either JNDI or sys
prop. I chose to let the method return {{null}} if not found, in which case
caller explicitly knows that he can use solrHome as data home.
> 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
> Labels: metrics
> Fix For: 7.0
>
> Attachments: 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]