Vector DatabasesBeginner31 October 2026
Why is top-k used in vector search?
Pick an answer to see the explanation.
Answer
To choose how many nearest matches are returned
Top-k specifies the maximum number of nearest candidates returned by a similarity search. Choosing it involves a recall, context-size, latency, and cost trade-off.
Learn more: Explore vector databases for AI applications →