question: public void softDelete ( String type , String id , MetacatContext metacatContext ) { try { RETRY_ES_PUBLISH . call ( null ) ; } catch ( Exception e ) { log . error ( String . format ( "Failed deleting metadata of type %s with id %s" , type , id ) , e ) ; CounterWrapper . incrementCounter ( "dse.metacat.esDeleteFailure" ) ; log ( "ElasticSearchUtil.softDelete" , type , id , null , e . getMessage ( ) , e , true ) ; } }
target:  Marks the document as deleted