This was discussed last week, with two different solutions: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/browser
In general, you can set a Java property, like "-Ddbpass=fred", then use it in the config files as "${dbpass}". wunder On Jan 30, 2013, at 3:37 AM, Lapera-Valenzuela, Elizabeth [Primerica] wrote: > Hi, we will be using solr on development, test and prod platforms. Is > there a way to dynamically create the datasource so that the url, > password and user id is passed in or can I point it to a properties file > that has this info? Thanks >