code: function deleteRecord(rType, idFun) {
    return function(item, callback) {
      GLOBAL.debug('deleting', item, rType);
      var tc = [];
      getEs().delete({ _type: rType, _id : encodeURIComponent(idFun(item))}, function(err, deleteRes) {
        callback(err, deleteRes);
      });
    };
  }
docs: delete member record partial