The next generation K-nearest neighbor index.