Skip to content
Projets

spotify/voyager has 1,609 GitHub stars and 95 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and +2 in 15 days. Last checked 2026-11-24 20:26 UTC. Last push 2026-11-16.

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

À propos

🛰️ Bibliothèque de recherche des plus proches voisins approximatifs pour Python et Java, axée sur la facilité d’utilisation, la simplicité et la facilité de déploiement.

Apprentissage automatique

README.md

Original

The word Voyager_in blue, with a multicoloured graphic illustrating an orbit to its left.

License: Apache 2.0 Documentation Supported Platforms Apple Silicon support for macOS and Linux (Docker) Test Badge

Voyager is a library for performing fast approximate nearest-neighbor searches on an in-memory collection of vectors.

Voyager features bindings to both Python and Java, with feature parity and index compatibility between both languages. It uses the HNSW algorithm, based on the open-source hnswlib package, with numerous features added for convenience and speed. Voyager is used extensively in production at Spotify, and is queried hundreds of millions of times per day to power numerous user-facing features.

Think of Voyager like Sparkey, but for vector/embedding data; or like Annoy, but with much higher recall. It got its name because it searches through (embedding) space(s), much like the Voyager interstellar probes launched by NASA in 1977.

Python Documentation Java Documentation

Installation

Python

pip install voyager

Java

Add the following artifact to your pom.xml:

<dependency>
  <groupId>com.spotify</groupId>
  <artifactId>voyager</artifactId>
  <version>2.2.3</version>
</dependency>

You can find the latest version on Voyager's Releases page.

Scala

Add the following artifact to your build.sbt:

"com.spotify" % "voyager" % "2.2.3"

You can find the latest version on Voyager's Releases page.

Compatibility

OS Language Version x86_64 (Intel) arm64 (ARM)
Linux Python 3.9 ✅ ✅
Linux Python 3.10 ✅ ✅
Linux Python 3.11 ✅ ✅
Linux Python 3.12 ✅ ✅
Linux Python 3.13 ✅ ✅
Linux Python 3.14 ✅ ✅
Linux Python 3.15 ✅ ✅
Linux Java 8-16+ ✅ ✅
macOS Python 3.9 ✅ ✅
macOS Python 3.10 ✅ ✅
macOS Python 3.11 ✅ ✅
macOS Python 3.12 ✅ ✅
macOS Python 3.13 ✅ ✅
macOS Python 3.14 ✅ ✅
macOS Python 3.15 ✅ ✅
macOS Java 8-16+ ✅ ✅
Windows Python 3.9 ✅ ❌
Windows Python 3.10 ✅ ❌
Windows Python 3.11 ✅ ❌
Windows Python 3.12 ✅ ❌
Windows Python 3.13 ✅ ❌
Windows Python 3.14 ✅ ❌
Windows Python 3.15 ✅ ❌
Windows Java 8-16+ ✅ ❌

Python support policy

The Python versions and platforms listed above are officially supported. Release wheels are tested on each listed combination before publication.

Standard CPython 3.12 and later share cp312-abi3 wheels. These wheels may also install on newer Python versions that have not yet been tested; installation alone does not establish official support. New versions become officially supported when their wheel tests are added to CI and pass. Free-threaded Python builds are not currently supported.

Contributing

Contributions to voyager are welcomed! See CONTRIBUTING.md for details.

License

Voyager is copyright 2022-2024 Spotify AB.

Voyager is licensed under the Apache 2 License.

Explorer des projets similaires

Chargement…