Mailing List Archive

RE: Data Import Handler
Hi,

I am fetching DIH status of the core using /dataimport?command=status. Now
the data import is running though the status URL giving me idle status. Some
times its giving me idle status on right time once data import is completed
but some times its giving idle status 1 or 2 seconds early.

Can any one help on this?







--
View this message in context: http://lucene.472066.n3.nabble.com/RE-Data-Import-Handler-tp4172589.html
Sent from the Lucene - General mailing list archive at Nabble.com.
RE: Data Import Handler [ In reply to ]
Hi dhwani:

What is your interpretation of the DIH status "idle"?

- is this a marker that another import can be submitted?
- is it a marker that all cleanup after an import is done has taken place?

If you grepcode you will see the status is set BEFORE all cleanup is done;
but this doesn't mean the integrity of the load or its readiness is other
than "completed".

Does this help?

Will


-----Original Message-----
From: dhwani2388 [mailto:dhwani_2388@yahoo.co.in]
Sent: Thursday, December 04, 2014 11:14 AM
To: general@lucene.apache.org
Subject: RE: Data Import Handler

Hi,

I am fetching DIH status of the core using /dataimport?command=status. Now
the data import is running though the status URL giving me idle status. Some
times its giving me idle status on right time once data import is completed
but some times its giving idle status 1 or 2 seconds early.

Can any one help on this?







--
View this message in context:
http://lucene.472066.n3.nabble.com/RE-Data-Import-Handler-tp4172589.html
Sent from the Lucene - General mailing list archive at Nabble.com.