I'm having a problem using a property file in my data-import.xml file. My aim is to not hard code some values inside my xml file, but rather reusing the values from a property file. I'm using multicore and some of the values are being changed from time to time and I do not want to change them in all my data-import files.
For example: <dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://${host}:3306/projectX" user="${username}" password="${password}" /> I tried everything, but don't know how I can use proporties here. I tried to put my values in dataimport.properties, located under "SOLR-HOME/conf" and under "SOLR-HOME/core1/conf", but without any success. Please, could someone help me on this?