The data _is_ separated from the code. It's all relative to solr_home which need not have any relation to where the code is executing from.
For instance, I can start Solr like java -Dsolr.solr.home=/Users/Erick/testdir/solr -jar start.jar and have my war in a completely different place. Best, Erick On Tue, Nov 26, 2013 at 1:08 AM, adfel70 <adfe...@gmail.com> wrote: > Thanks for the reply, Erick. > Actually, I didnt not think this through. I just thought it would be a good > idea to separate the data from the application code. > I guess I'll leave it without setting the datadir parameter and add a > symlink. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Setting-solr-data-dir-for-SolrCloud-instance-tp4103052p4103228.html > Sent from the Solr - User mailing list archive at Nabble.com. >