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 arguments like this:


Michael

Michael Della Bitta

------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271

www.appinions.com

Where Influence Isn’t a Game


On Wed, Jan 30, 2013 at 6:37 AM, Lapera-Valenzuela, Elizabeth
[Primerica] <elizabeth.lap...@primerica.com> 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
>

Reply via email to