[ 
https://issues.apache.org/jira/browse/SOLR-11037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091428#comment-16091428
 ] 

Andrzej Bialecki  commented on SOLR-11037:
------------------------------------------

I think {{solr.xml}} is the best place for this - we can implicitly add an 
element {{<solrDataHome>${solr.data.home:}</solrDataHome>}} if it's missing, so 
that it captures the sysprop. {{NodeConfig}} is available mostly everywhere in 
Solr so we can add the accessor method there, and use it in DirectoryFactory.

> 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
>
>
> 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