The inner product of two vectors represents the similarity. So we should return the largest ones as kNN. It's opposite to L2 distance.