def METHOD_NAME(empty_index, small_movies):
    small_movies[0]["_vectors"] = [0.1, 0.2]
    def index_maker(index_uid=common.INDEX_UID, documents=small_movies):
        index = empty_index(index_uid)
        task = index.add_documents(documents)
        index.wait_for_task(task.task_uid)
        return index
    return index_maker