lib/redi_search_rails.rb
def ft_del record:
      doc_id = record.to_global_id
      REDI_SEARCH.call('FT.DEL', @index_name, doc_id)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
def ft_del record:
      doc_id = record.to_global_id
      REDI_SEARCH.call('FT.DEL', @index_name, doc_id)
    rescue Exception => e
      Rails.logger.error e if defined? Rails
      return e.message
    end
delete specific document from index

 @param record [Object] Object to delete
 @return [String]