--- On Fri, 12/3/10, Tri Nguyen <tringuye...@yahoo.com> wrote: > From: Tri Nguyen <tringuye...@yahoo.com> > Subject: dataimports response returns before done? > To: "solr user" <solr-user@lucene.apache.org> > Date: Friday, December 3, 2010, 7:55 PM > Hi, > > After issueing a dataimport, I've noticed solr returns a > response prior to finishing the import. Is this correct? > Is there anyway i can make solr not return until it > finishes? > > If not, how do I ping for the status whether it finished or > not? >
So you want to do something at the end of the import? http://wiki.apache.org/solr/DataImportHandler#EventListeners may help. Also you can always poll solr/dataimport url and check status (busy,idle)