using ids to index candidates
with inner product matches