> how can i say that solr should start the jar after every
> Delta-Import NOT
> after every Full-Import ????? 

You cannot distinguish between delta or full. So you need to do it in your jar 
program. In your java program you need to send GET method to url 
http://localhost:8080/solr/dataimport

if result string/xml contains contains '<str name="status">idle</str>' and 
'Delta Dump started' then you can truncate your table.

if result string contains contains '<str name="status">idle</str>' and 'Full 
Dump Started' then do nothing.




      

Reply via email to