use Set in RemoteIndex.