I have a data to be indexed. The table has a column called 'state' which could be 'published' 'drafted' OR 'deleted'. Now I only index the data which has a state as 'published'. If a data in database is updated to 'deleted' from 'published' how do I deleted this data from my Solr index when using incremental imports.
The default behaviour of Solr will be to update the state of the data element to 'deleted' from 'published' which is not desired, rather i want to delete it from the solr index.