code: function (options, deleteBatch, callbacky) {
    var numberDocsToDelete = 0
    if (!Array.isArray(deleteBatch)) {
      deleteBatch = [deleteBatch]
    }
    a.series([
      function(callback) {
        if (!options.deletable) {
          options.indexes.get('DF￮*￮*￮￮', function (err, keys) {
            // are any of the deletebatch in the index?
            var keysInIndex = _intersection(deleteBatch, keys)
            var docExistsErr = null
            if (keysInIndex.length > 0) {
              docExistsErr = new Error(
                'this index is non-deleteable, and some of the documents you are deleting have IDs that are already present in the index. Either reinitialize index with "deletable: true" or alter the IDs of the new documents')
              return callbacky(docExistsErr)
            } else {
              return callback(null, null)
            }
          })
        } else {
          return callback(null, null)
        }
      },
      function(callback) {
        a.mapLimit(deleteBatch, 5, function (docID, mapCallback) {
          options.indexes.get('DELETE-DOCUMENT￮' + docID, function (err, keys) {
            if (err) {
              if (err.name === 'NotFoundError') {
                return mapCallback(null, [])
              }
            } else {
              numberDocsToDelete++
            }
            return mapCallback(err, keys)
          })
        }, function (err, results) {
          if (err) {
            return callbacky(err)
          } else {
            deleteThisBatch(options, numberDocsToDelete, deleteBatch, results, function (err) {
              return callbacky(err)
            })
          }
        })
      }
    ])
  
  }
docs: Try to delete the batch, throw errors if config, or formatting prevents deletion