[
https://issues.apache.org/jira/browse/SOLR-11037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079716#comment-16079716
]
Jan Høydahl commented on SOLR-11037:
------------------------------------
Hmm, I already see a bug in JNDI stuff, we should add some tests for this.
Also, I don't think this code works for relative data home dirs (which should
then be relative to solr.home). Finally, some code in
{{CachingDirectoryFactory#init}} looks up data.home only from sysProp, not from
JNDI. Perhaps that code could call this new method?
> 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]