'Delete the course index from cache and the db'

def delete_course_index(self, course_key):

    if self._is_in_bulk_operation(course_key, False):
        self._clear_bulk_ops_record(course_key)
    self.db_connection.delete_course_index(course_key)
