Get merge_result's index.