'Index of a bunch of documents.'

@classmethod
def bulk_delete(cls, ids, es=None, index=None):

    es = (es or cls.get_connection())
    index = (index or cls.get_index())
    type = cls.get_doc_type()
    actions = [{'_op_type': 'delete', '_index': index, '_type': type, '_id': _id} for _id in ids]
    bulk(es, actions)
