Re: configuring datasource for dynamic password and user

2013-01-30 Thread Walter Underwood
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-Va

Re: configuring datasource for dynamic password and user

2013-01-30 Thread Michael Della Bitta
Sorry, email sent too quickly. Here's the second url: http://wiki.apache.org/solr/SolrConfigXml?highlight=%28solrconfig%5C.xml%29#System_property_substitution Michael Della Bitta Appinions 18 East 41st Street, 2nd Floor New York, NY 10017-6271 ww

Re: configuring datasource for dynamic password and user

2013-01-30 Thread Michael Della Bitta
Hi Elizabeth, I haven't tried this, but given this entry: http://wiki.apache.org/solr/DataImportHandler#Adding_datasource_in_solrconfig.xml You should be able to parameterize the arguments in solrconfig.xml with environment variables and then set them in solr.xml or at runtime using command line

configuring datasource for dynamic password and user

2013-01-30 Thread Lapera-Valenzuela, Elizabeth [Primerica]
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