I've got a huge problem regarding dataimport with mysql connector into solr 4.9. When i try to launch the request on my db, i always get Indexing failed. Rolled back all changes. The problem is i've nothing into catalina log. Nothing appears even after i've launched the import. Here is my data-config.xml :
<dataConfig>
<dataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/db" user="user" password="pass"/>
<document name="example">
<entity name="annonce_entry"
query="SELECT * FROM annonce_entry">
<field column="annonce_entry_id" name="id" />
<field column="note_total" name="title" />
</entity>
</document>
I settle the connector, create dataimport.properties but still, i've got this message. Any help ? Thanks
EDIT : Here is the ouput response { "responseHeader": { "status": 0, "QTime": 0 }, "initArgs": [ "defaults", [ "config", "data-config.xml" ] ], "command": "status", "status": "idle", "importResponse": "", "statusMessages": { "Time Elapsed": "0:0:0.31", "Total Requests made to DataSource": "0", "Total Rows Fetched": "0", "Total Documents Processed": "0", "Total Documents Skipped": "0", "Full Dump Started": "2015-04-20 09:31:13", "": "Indexing failed. Rolled back all changes.", "Rolledback": "2015-04-20 09:31:13" }, "WARNING": "This response format is experimental. It is likely to change in the future." }