Re: dih data-config.xml onImportEnd event

2014-03-27 Thread Andreas Owen
sorry, the previous conversation was started with a false email-address. On Thu, 27 Mar 2014 14:06:57 +0100, Stefan Matheis wrote: I would suggest you read the replies to your last mail (containing the very same question) first? -Stefan On Thursday, March 27, 2014 at 1:56 PM, Andreas O

Re: dih data-config.xml onImportEnd event

2014-03-27 Thread Stefan Matheis
I would suggest you read the replies to your last mail (containing the very same question) first? -Stefan On Thursday, March 27, 2014 at 1:56 PM, Andreas Owen wrote: > i would like to call a url after the import is finished whith the event > . how can i do this? > >

dih data-config.xml onImportEnd event

2014-03-27 Thread Andreas Owen
i would like to call a url after the import is finished whith the event . how can i do this?

Re: dih data-config.xml onImportEnd event

2014-03-27 Thread Alexandre Rafalovitch
Oops. Ignore my email. I learnt something today that I have not seen anybody else use. Are there live open-source examples of the DIH EventListeners? Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency

Re: dih data-config.xml onImportEnd event

2014-03-27 Thread Ahmet Arslan
Hi Andres, Here is a snippet you can use for starting point. import org.apache.solr.handler.dataimport.Context; import org.apache.solr.handler.dataimport.EventListener; public class MyEventListener implements EventListener {   public void onEvent(Context ctx) {     if (Context.DELTA_DUMP.equals

Re: dih data-config.xml onImportEnd event

2014-03-27 Thread Alexandre Rafalovitch
I don't think there is one like that. But you might be able to use a custom UpdateRequestProcessor? Or a postCommit hook in solrconfig.xml Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Thu, M

dih data-config.xml onImportEnd event

2014-03-27 Thread Andreas Owen
i would like to call a url after the import is finished whith the event . how can i do this?