[ https://issues.apache.org/jira/browse/SOLR-1577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780195#action_12780195 ]
Yonik Seeley commented on SOLR-1577: ------------------------------------ bq. 2. that the legacy behavior of <dataDir> was to be resolve the path relative the working directory (not the instance dir) I always really expected that if you switch the instance dir, you switch the data dir by default... that's what happens by default if there is no dataDir specified in solrconfig.xml bq. 3. that people wanted to be able to use a solr.data.dir property with the example configs to pick an arbitrary data dir at run time for demoing stuff. Unfortunately, there's no way of specifying a path relativer to the instance dir. What if we at least made it such that an empty dataDir meant ./solr/data relative to the instance dir? Then we could change <dataDir>${solr.data.dir:./solr/data}</dataDir> To <dataDir>${solr.data.dir}</dataDir> > undesirable dataDir default in example config > --------------------------------------------- > > Key: SOLR-1577 > URL: https://issues.apache.org/jira/browse/SOLR-1577 > Project: Solr > Issue Type: Bug > Reporter: Yonik Seeley > Priority: Minor > Fix For: 1.5 > > > dataDir in the example solrconfig.xml defaults to ./solr/data (as opposed to > the solr home) > http://search.lucidimagination.com/search/document/7759f05f576d6727 > http://search.lucidimagination.com/search/document/c5ae6fa490d0f59a -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.