lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: dih data-config.xml onImportEnd event
Date Thu, 27 Mar 2014 09:11:53 GMT
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(ctx.currentProcess())) {
      // do something call a URL



On Thursday, March 27, 2014 11:08 AM, Alexandre Rafalovitch <> wrote:
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

Personal website:
Current project: - Accelerating your Solr proficiency

On Thu, Mar 27, 2014 at 3:58 PM, Andreas Owen <> wrote:
> i would like to call a url after the import is finished whith the event
> <document onImportEnd="">. how can i do this?

View raw message