You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/10/16 02:47:42 UTC

[jira] [Commented] (SOLR-5350) Solr 4.5 upgrade instructions don't mention that solrconfig.xml dataDir variable must now be in another format.

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org