Have you tried leaving: <dataDir>${solr.data.dir:}</dataDir> in solrconfig.xml and then setting the data dir for each core in the solr.xml, i.e.
<core schema="schema.xml" loadOnStartup="true" instanceDir="someCore/" transient="false" name="justSomeCore" config="solrconfig.xml" dataDir="PATH_TO_DATA_DIR"/> On Thu, Feb 21, 2013 at 7:13 AM, chamara <chama...@gmail.com> wrote: > I am having 5 shards in one machine using the new one collection multiple > cores method. I am trying to change the index directory, but if i hard code > that in the SolrConfig.xml , the index dir does not change for other cores > and each core tries to fight over it and ends up as a deadlock. Is there > anyway to suffix the index directory with the shard replica name so that for > each shard i will have a different index directory? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-change-the-index-dir-in-Solr-4-1-tp4041891.html > Sent from the Solr - User mailing list archive at Nabble.com.