I am using the DataImporterHandler to get database connection details from a data-config.xml file. I would like to do a JNDI lookup to get database connection details from a container. So that when I deploy my embedded Solr Instance I don't have to deploy a data-config.xml for each environment.
After reading the thread linked below, I believe I might be able to implement a JndiDataSource. I was just wondering if this is the best approach, and how I would go about using this DataSouce. How can I configure DataImporterHandler to use a different datasource? Alternatively do I have to create my own DataImportHandler that uses a JNDI lookup? http://www.nabble.com/use-pooled-connections-with-DataImportHandler-tt18706611.html#a18706611 -- View this message in context: http://www.nabble.com/DataImportHandler-that-uses-JNDI-lookup-tp22408996p22408996.html Sent from the Solr - User mailing list archive at Nabble.com.