Hi Prasanna,
You can use Request Parameters in Solr 5.5 but not in your version . <dataSource driver="org.hsqldb.jdbcDriver" url="${dataimporter.request.jdbcurl}" user="${dataimporter.request.jdbcuser}" password=${dataimporter.request.jdbcpassword} /> "these parameters can be passed to the full-import command or defined in the <defaults> section in sol rconfig.xml. This example shows the parameters with the full-import command: dataimport?command=full-import&jdbcurl=jdbc:hsqldb:./example-DIH/hsqldb/ex&jdbcuse r=sa&jdbcpassword=secret" Regards Srinivas Meenavalli -----Original Message----- From: Prasanna S. Dhakephalkar [mailto:prasann...@merajob.in] Sent: Thursday, August 11, 2016 4:40 PM To: solr-user@lucene.apache.org Subject: using variables in data-config.xml Hi, I have 7 cores. In each data-config.xml , I have <dataSource name="ds1" type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/abcd" user="userName" password="passWord" /> There is similar structures on production, testing and partner instances. So if I have to make changes I have to do in all data-config files. I am looking for a mechanism where some variables Like dbname=abcd dbusre=username dbpass=password are defined in solr.xml file under ../server/solr_test directory and can be referenced .../servre/solr_test/{core_1,core_2,...core_7}/conf/data-config.xml Tired looking on net, I found articles that are telling me to edit solrconfig.xml in each core, that does not satisfy my need. I am using solr 5.3.1 Regards, Prasanna. ________________________________________________________________________ This electronic mail transmission may contain privileged, confidential and/or proprietary information intended only for the person(s) named. Any use, distribution, copying or disclosure to another person is strictly prohibited. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.