[
https://issues.apache.org/jira/browse/SOLR-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620671#comment-13620671
]
Dawid Weiss commented on SOLR-4653:
-----------------------------------
This (the variable substitution) should also work as far as I'm concerned
because variables are substituted globally in all text nodes. That's my
understanding of the code, didn't check on a live instance. So if you passed
${solr.contrib.root} and it doesn't point anywhere you'd get a warning in the
logs.
Since some folks expressed their concern about failing hard (and it was
actually documented that it won't fail hard) I think it makes sense to preserve
this behavior, at least in the same Solr line (4.x). Perhaps another issue
changing this behavior should be filed for 5.x.
> Solr configuration should log inaccessible/ non-existent relative paths <lib
> dir="...">
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-4653
> URL: https://issues.apache.org/jira/browse/SOLR-4653
> Project: Solr
> Issue Type: Bug
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Trivial
> Attachments: SOLR-4653.patch
>
>
> Currently the dir path is resolved relative to core's instanceDir but if you
> don't know it nothing happens (no warning, no nothing). This is very
> frustrating.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]