'Update index with course_team object (if feature is enabled).'

@classmethod
@if_search_enabled
def index(cls, course_team):

    search_engine = cls.engine()
    serialized_course_team = CourseTeamIndexer(course_team).data()
    search_engine.index(cls.DOCUMENT_TYPE_NAME, [serialized_course_team])
