Thanks Paul, that will certainly work. I was just hoping there was a way I
could write my own class that would inject this value as needed instead of
precomputing this value and then passing it along in the params.

My specific use case is instead of using dataimporter.last_index_time I want
to use something like dataimporter.updated_time_of_last_document. Our DIH is
set up to use a bunch of slave databases and there have been problems with
some documents getting lost due to replication lag. 

I would prefer to compute this value using a custom variable at runtime
instead of passing it along via the params. Is that even possible? If not
Ill have to go with your previous suggestion. 

Thanks
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Custom-DIH-variables-tp777696p779278.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to