On 12/8/2015 6:37 PM, Brian Narsi wrote: > Is there a way to receive notifications when a Data Import Handler finishes > up and whether it succeeded or failed. (typically runs about an hour)
The code I have which uses DIH (full rebuilds of the index) must regularly get a status from DIH after it starts the import. There's a lot of complicated code to parse that status into something useful. I am not aware of any way to send a notification when DIH completes, you must ask it whether it's done. Some kind of callback would be interesting ... but there are not very many reliable methods that are not language or platform specific. Having the code do an HTTP request on completion (where a URL and perhaps a POST body are defined in the DIH config) would be something that might be useful. Thanks, Shawn