Re: DataImportHandler configuration - externalizing environment-specific settings?

2009-06-22 Thread Erik Hatcher
Ah, thanks Noble. I should have figured that one out myself - I think the built-in capabilities of setting a parameter from the handler mapping will do the trick nicely, indirecting it from a system property. Erik On Jun 21, 2009, at 11:49 PM, Noble Paul നോബിള്‍ नोब्ळ् wrote: T

Re: DataImportHandler configuration - externalizing environment-specific settings?

2009-06-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
There is no straight way but there is a way http://wiki.apache.org/solr/DataImportHandlerFaq#head-c4003ab5af86a200b35cf6846a58913839a5a096 On Mon, Jun 22, 2009 at 6:23 AM, Erik Hatcher wrote: > > In an environment where there are developer machines, test, staging, and > production servers there

DataImportHandler configuration - externalizing environment-specific settings?

2009-06-21 Thread Erik Hatcher
In an environment where there are developer machines, test, staging, and production servers there is a need to externalize DIH configuration options like JDBC connections strings (at least the database server name), username, password, and base paths for XML and plain text files. How are