Implement send_index using g_core