lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Reading properties in data-import.xml
Date Thu, 10 Jan 2013 14:21:08 GMT is for DIH to store it's own properties for delta
processing and things. Try instead, as per recent


Personal blog:
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)

On Thu, Jan 10, 2013 at 3:58 AM, Dariusz Borowski <>wrote:

> 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, located under "SOLR-HOME/conf"
> and under "SOLR-HOME/core1/conf", but without any success.
> Please, could someone help me on this?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message