[
https://issues.apache.org/jira/browse/SOLR-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701230#comment-14701230
]
James Dyer commented on SOLR-1554:
----------------------------------
Just looking at this patch quickly, I see that UrlCallbackListener.java
correctly implements the EventListener interface. So if we included this in
our distribution, users could just specify this for "onImportEnd" as shown [on
the old wiki
page|https://wiki.apache.org/solr/DataImportHandler#EventListeners] .
Its not clear to me why the other 3 classes need modification. Also, a unit
test would be nice, but arguably a pain to write.
> Passing a callback url to DIH
> -----------------------------
>
> Key: SOLR-1554
> URL: https://issues.apache.org/jira/browse/SOLR-1554
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.5, 3.1
> Reporter: Sascha Szott
> Priority: Minor
> Attachments: SOLR-1554.patch
>
>
> To provide an easy way to check if an DIH import process is completed (i.e.,
> without having to implement a custom Solr EventListener), it should be
> possible to pass a callback url along a URL to a DIH request handler.
> Ideally, the callback should somehow indicate the import operation's result
> (successful / not successful). This would obviate an additional call of the
> request handler to get the import operation's result and statistics,
> respectively.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]