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

Hoss Man commented on SOLR-5350:
--------------------------------

I'm not sure that i understand the problem here.

Solr has not, to my knowledge, ever supported {{$\{dataDir\}}} as an implicit 
variable in solrconfig.xml. -- but maybe it was and i'm just not aware of it?  
in which case this may be a bug that should be fixed, not just a documentation 
problem.

Can you please attach an example of what configs you were using prior to 4.5 
that was working for you (showing how you were using {{$\{dataDir\}}} as a 
variable and let us know exactly which version of solr you were using?

Can you please also let us know where in the docs (or wiki, or whatever) you 
found any mention of using {{$\{dataDir\}}} as a variable in your configs? (if 
you can't find any that's fine -- i'd just like to understand what's going on 
here)

> Solr 4.5 upgrade instructions don't mention that solrconfig.xml dataDir 
> variable must now be in another format.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5350
>                 URL: https://issues.apache.org/jira/browse/SOLR-5350
>             Project: Solr
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 4.5
>         Environment: All
>            Reporter: Juha Haaga
>            Priority: Minor
>              Labels: documentation
>             Fix For: 4.5.1
>
>
> The configuration of dataDir in solrconfig.xml used to support ${dataDir} 
> format at least in all the previous 4.* releases, but in 4.5 that is no 
> longer true. Using the old format produces exception: 
> SolrException: No system property or default value specified for dataDir 
> value:${dataDir}
> The new format for the variable is ${solr.corename.data.dir:} where corename 
> is defined in solr.xml. This deprecation is not mentioned in the upgrade 
> instructions.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to