inted the knn index