Annoy

Annoy

Approximate nearest neighbors by Spotify

Description

Finding nearest neighbors among millions of vectors by brute force is too slow for production. Annoy is Spotify's approximate nearest neighbors library optimized for memory and disk loading.

Indexes save to files and mmap across processes, the same approach Spotify uses for music recommendations.

Features



ANN:Fast similarity.

mmap:Shared across processes.

Static:Save and load.

Languages:C++ and Python.