lib/indexer.js
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);
    });
  };
}
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);
    });
  };
}
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 ) ; } ) ; } ; }
delete member record partial
delete member record partial