def METHOD_NAME(self, item):
    # Make sure the object can be indexed
    if not class_is_indexed(item.__class__):
        return
    # Get mapping
    mapping = self.mapping_class(item.__class__)
    # Delete document
    try:
        self.es.delete(index=self.name, id=mapping.get_document_id(item))
    except NotFoundError:
        pass  # Document doesn't exist, ignore this exception