You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tommy Chheng <to...@gmail.com> on 2010/08/18 00:47:18 UTC

changable DIH datasource based on environment variables

  I defined my DIH datasource in solrconfig.xml. Is there a way to 
define two sets of data sources and use one based on the current 
system's environment variable?(ex. APP_ENV=production or 
APP_ENV=development)

I run the DIH on my local machine and remote server. They use different 
mysql datasources for importing.

-- 
@tommychheng
Programmer and UC Irvine Graduate Student
Find a great grad school based on research interests: http://gradschoolnow.com