lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: DIH. behavior after a import. Log, delete table !?
Date Tue, 18 May 2010 13:49:19 GMT

> 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.




      

Mime
View raw message