SqlEntityProcessor does not recognize onError attribute
-------------------------------------------------------
Key: SOLR-1549
URL: https://issues.apache.org/jira/browse/SOLR-1549
Project: Solr
Issue Type: Improvement
Components: contrib - DataImportHandler
Affects Versions: 1.4, 1.5
Reporter: Sascha Szott
Priority: Minor
Unfortunately, the SqlEntityProcessor does not recognize the value of an
entity's onError attribute in DIH's data config file. Therefore, in cases where
SQL exceptions are thrown somewhere inside the constructor of
ResultSetIterators (which is an inner class of JdbcDataSource), Solr's import
exits immediately, even though onError is set to continue or skip.
In my opinion, use cases exist that will profit from database related exception
handling inside of Solr (e.g., in cases where the existence of certain database
tables or views is not predictable).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.