Re: How to change the index dir in Solr 4.1

2013-02-21 Thread Mingfeng Yang
How about passing -Dsolr.data.dir=/ur/data/dir in the command line to java when you start Solr service. On Thu, Feb 21, 2013 at 9:05 AM, chamara wrote: > Yes that is what i am doing now? I taught this solution is not elegant for > a > deployment? Is there any other way to do this from the Solr

Re: How to change the index dir in Solr 4.1

2013-02-21 Thread chamara
Yes that is what i am doing now? I taught this solution is not elegant for a deployment? Is there any other way to do this from the SolrConfig.xml? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-change-the-index-dir-in-Solr-4-1-tp4041891p4041950.html Sent from the So

Re: How to change the index dir in Solr 4.1

2013-02-21 Thread Timothy Potter
Have you tried leaving: ${solr.data.dir:} in solrconfig.xml and then setting the data dir for each core in the solr.xml, i.e. On Thu, Feb 21, 2013 at 7:13 AM, chamara wrote: > I am having 5 shards in one machine using the new one collection multiple > cores method. I am trying to change the in