Hi, friends:
I'm a solr user. now has a problem.
https://issues.apache.org/jira/browse/SOLR-1970
I think:
The conf directory might not be writable, the data directory is a better
place for dataimport.properties
or
This adds a <propertywriter /> element to solrconfig.xml file,
something like:
<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">data-config.xml</str>
<lst name="propertywriter">
<str name="type">SimplePropertiesWriter</str>
<str name="directory">${solr.product.data.dir}</str>
</lst>
<lst name="datasource">
<str name="driver">${jdbc.mysql.movie.driver}</str>
<str name="url">${jdbc.mysql.movie.url}</str>
<str name="user">${jdbc.mysql.movie.username}</str>
<str name="password">${jdbc.mysql.movie.password}</str>
<int name="batchSize">${jdbc.mysql.movie.batchsize}</int>
<bool name="readOnly">${jdbc.mysql.movie.readonly}</bool>
</lst>
</lst>
</requestHandler>
Please mark this issues, thank you very much!
best wishes!