Hi Shashi,
IMO it would be best if you put that logic on your controller where you start 
import. If you are doing that through admin console, the only solution I am 
aware of is to write your custom component.

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 20 Dec 2017, at 11:45, Shashi Roushan <shashirous...@gmail.com> wrote:
> 
> Hello All,
> 
> I want to keep indexed records live in solr, during data import when sql
> query not returning any record. We also need to clean= true, because when
> SQL query return records then solr should be reindexed.
> Only avoid reindexing, when SQL query not return any rows.
> 
> Please suggests.
> 
> Regards,
> Shashi Roushan

Reply via email to