Adding code to delete record from SOLR index.