Thanks for the reply. 

Regarding second question, actually thats what I am looking for. 

My use case is, my DIH runs for 2 httpdatasources, api1 and api2 with
different ttls returned. I was thinking of saving this in a file something
like, 
url:api1, timestamp:100, expires: 60
url:api2, timestamp:101, expires: 30

Then, a cron job will run every min to see what entries are expiring in next
30 secs? entry#2 will be expiring so it will re-index that entry by running
DIH curl command for that entity.

Is there a better of scheduling DIH imports automatically? 

I read about NRT, is that related to this problem at all?

Thanks, 
-M




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Scheduling-DataImports-tp4065435p4065873.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to