Home › Glossary › Exact nearest neighbour

Exact nearest neighbour

Measures how far the query vector is from each and every candidate, for instance using VECTOR_DISTANCE with TOP and ORDER BY, so the results are always right. It is advised for up to roughly 50,000 candidates; beyond that, ANN (approximate) search is preferred.

Also called kNN.

Read more: Microsoft Learn

In the Ultra Transcenders books

DP-800

Each book explains Exact nearest neighbour in context, with comparison tables and the common traps.

Terms in this definition

Related terms

See Exact nearest neighbour in the full glossary