In particular, since no model of the training material is being learned, the training corpus needs to be stored in order to be queried.
to k-NN, however, the search for closest neighbors does not require any distance, but instead relies on relational similarities.