lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Chheng <tommy.chh...@gmail.com>
Subject changable DIH datasource based on environment variables
Date Tue, 17 Aug 2010 22:47:18 GMT
  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


Mime
View raw message