Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 735 Bytes

knn-search.asciidoc

File metadata and controls

21 lines (15 loc) · 735 Bytes

k-nearest neighbor (kNN) search

A k-nearest neighbor (kNN) search finds the k nearest vectors to a query vector, as measured by a similarity metric.

Common use cases for kNN include:

  • Relevance ranking based on natural language processing (NLP) algorithms

  • Product recommendations and recommendation engines

  • Similarity search for images or videos

Learn more in the {ref}/knn-search.html[{es} core documentation].

Tip

Check out our {ref}/bring-your-own-vectors.html[hands-on tutorial] to learn how to ingest dense vector embeddings into Elasticsearch.