lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Chheng <>
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 

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

Programmer and UC Irvine Graduate Student
Find a great grad school based on research interests:

View raw message