[
https://issues.apache.org/jira/browse/SOLR-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071764#comment-14071764
]
Noble Paul commented on SOLR-6269:
----------------------------------
Let's change this entity level onError to be an eventHandler which can be a
java class or javascript function.
Change the signature of EventListener.onEvent(..) to return an Object
If the listener is implemented , it should return one of ABORT|CONTINUE|SKIP
As of now it is an entity level attribute and we can leave it as it is
The ctx.getLastException() should give the actual exception that happened
> Change "rollback" to "error" in DIH
> -----------------------------------
>
> Key: SOLR-6269
> URL: https://issues.apache.org/jira/browse/SOLR-6269
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.9
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Fix For: 5.0, 4.10
>
> Attachments: SOLR-6269.patch
>
>
> Since rollback (see SOLR-3622) is going away from DIH, at least in SolrCloud
> mode, let's rename most things "rollback" to "error", such as the new
> onRollback handler.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]