'Remove a document from the index.'

@classmethod
def unindex(cls, id_, es=None, index=None):

    es = (es or cls.get_es())
    index = (index or cls.get_index())
    es.delete(index=index, doc_type=cls.get_mapping_type_name(), id=id_)
