Easy-to-use, fast, simple multi-platform approximate nearest-neighbor search library.
Project description
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.
Installation
Python
pip install voyager
Java
Add the following artifact to your pom.xml
:
<dependency>
<groupId>com.spotify</groupId>
<artifactId>voyager</artifactId>
<version>2.0.4</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.0.4"
You can find the latest version on Voyager's Releases page.
Compatibility
OS | Language | Version | x86_64 (Intel) | arm64 (ARM) |
---|---|---|---|---|
Linux | Python | 3.7 | ✅ | ✅ |
Linux | Python | 3.8 | ✅ | ✅ |
Linux | Python | 3.9 | ✅ | ✅ |
Linux | Python | 3.10 | ✅ | ✅ |
Linux | Python | 3.11 | ✅ | ✅ |
Linux | Python | 3.12 | ✅ | ✅ |
Linux | Java | 8-16+ | ✅ | ✅ |
macOS | Python | 3.7 | ✅ | ✅ |
macOS | Python | 3.8 | ✅ | ✅ |
macOS | Python | 3.9 | ✅ | ✅ |
macOS | Python | 3.10 | ✅ | ✅ |
macOS | Python | 3.11 | ✅ | ✅ |
macOS | Python | 3.12 | ✅ | ✅ |
macOS | Java | 8-16+ | ✅ | ✅ |
Windows | Python | 3.7 | ✅ | ❌ |
Windows | Python | 3.8 | ✅ | ❌ |
Windows | Python | 3.9 | ✅ | ❌ |
Windows | Python | 3.10 | ✅ | ❌ |
Windows | Python | 3.11 | ✅ | ❌ |
Windows | Python | 3.12 | ✅ | ❌ |
Windows | Java | 8-16+ | ✅ | ❌ |
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for voyager-2.0.9-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc7041ba8047d25942afe457db597be6f33161a669aac00dfffc00b7d833bfa |
|
MD5 | 84e38870d4f0ff05787ec1e53a5bc5c8 |
|
BLAKE2b-256 | b4f6906b21d4b42df264fc231c74753ca164f14cb09d40cd6b3a32d293aa0418 |
Hashes for voyager-2.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805f1736e5fe309ae8884e572b78d9816ff4fd6f1ef364298a2f62566ea86bc9 |
|
MD5 | 6688e85d8cd9c58f2dac21be1292ef0c |
|
BLAKE2b-256 | 137a4ac271fb5a8068f97dd6446622d679d26237a772ab12d1e6241cc0848dca |
Hashes for voyager-2.0.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4015db48c0c5d596e8bc536f4b05b601a2138e6439e00b06410e18286896273 |
|
MD5 | 57b3b7af0dfae21c2661ad42a7fc029c |
|
BLAKE2b-256 | 3361e705ee3154450802912d35e881261182c01ba0e65cc83c6ef16b84c56e1b |
Hashes for voyager-2.0.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 510485dafa539ae130f2ad8bf7c95b21a2fa454f0b25581b37be3ca36bab29a1 |
|
MD5 | 23406390b2b3825fe8186c8c274d5032 |
|
BLAKE2b-256 | e583d9b40742c17f674cbafec55b751804e68ee9b492cfb02fddc72f060beb17 |
Hashes for voyager-2.0.9-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d58682f2f8d9cfccb95d2278eeec01ed76f90636cf6123db7850eb9a4b7e70e7 |
|
MD5 | 8f950f741d17d14a5e54f67dcc619c0f |
|
BLAKE2b-256 | d49fee29e306901be0ea521b464c3533bd95d49dbe08c54df64cd49bbb13918e |
Hashes for voyager-2.0.9-cp312-cp312-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d344617a1c97d6b317f13e801b3377a55f1e5b91786f9354dcde12b7945b3e0 |
|
MD5 | 00d81546041da6dc67ddaeebc21243e5 |
|
BLAKE2b-256 | 22fa455fbd3a709403dd98f910b1ba5bfd9bf38db3e718edd03c8758ecb3b750 |
Hashes for voyager-2.0.9-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e1c264f4202b551ca8cb5a33d456f451c598ea7b9680134177dc5443819f328 |
|
MD5 | aa5eff9871ae1e4588e5395caa14484a |
|
BLAKE2b-256 | 1a95fa3f090d8e1bdbd8401e9944080f3c12d1e8f1385980da4151f6ab62a783 |
Hashes for voyager-2.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd1e690a69a044b988fd102676bb8584ed423af4b7aa9e69349203690263aad |
|
MD5 | c3a58eb1ab124c28df8692f1ce49709f |
|
BLAKE2b-256 | 387c47598f5630b97cf7cf8f29ac390b8beab24adeb3f322d004244660b96e8f |
Hashes for voyager-2.0.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c451b25d449ac6923f7424a3255995f97263ed694fa873119703da01a09f6d7 |
|
MD5 | c067addda9014a43af41ebde1b54f485 |
|
BLAKE2b-256 | 42020f7c5e4d9eaf83d932ab0c89e93117166575163f670a6200f55a56dae268 |
Hashes for voyager-2.0.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ea7f5e61bb7de06d0196b1fbd43826908c6f2811576c94d97e353e7b32cb78 |
|
MD5 | e986ce60510d57ca640ec07b8bdc8557 |
|
BLAKE2b-256 | 923e7648441cf72258fc2e5cb9be6f39890684f15a06f66db42f12a8041e4e30 |
Hashes for voyager-2.0.9-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216c517dd66e0095f5f14277627a233c081797119028737f71168f094bacb9d0 |
|
MD5 | 8d164d5fd30e6d59f41ea00c6523d9cf |
|
BLAKE2b-256 | 3b7383d047ad7f6cb4fad426ed6f8b6c249c3ffecffa85ebb017e6d4e725aa0c |
Hashes for voyager-2.0.9-cp311-cp311-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d270b29bafb5a133abd611a03b1b9ec7b03a44361966609abef72dde2518eb5e |
|
MD5 | dea4b368ff05df776882aabac719fb2b |
|
BLAKE2b-256 | c217ace9aaf1e65553dae2ce3ba947e922e6bd16aa89abe558543471b5fe065c |
Hashes for voyager-2.0.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053f22b23bd090f6376cf026c31653d3c040f9eaf0c6d1267e766a442a5b8ff8 |
|
MD5 | a17d968d23acb0f2bf15b8e13b1547da |
|
BLAKE2b-256 | 2cdc395551a312110ad53cdac4f0126708d02c2d5c11c9f63ecf6a64985fab56 |
Hashes for voyager-2.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed85d23006f98091a137f637894560d1020ba25217b5332729417ac0a200b0bd |
|
MD5 | 8f785742cc281c40d7c37b9ba90a015e |
|
BLAKE2b-256 | db951032e54e27eeac13f9affaf1fdeb834cc389f728316c9e7244c0e57c3e98 |
Hashes for voyager-2.0.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be032a8ae5447ce289f1c95f349e825e9d4edc915db7ea1b2c273940de2acbe |
|
MD5 | 778c33e383b34f041f13619c859d097e |
|
BLAKE2b-256 | 2bb9a514e2f88b7cdf35cb182064d5859258488cfe7e7b82bfff012d9cffd746 |
Hashes for voyager-2.0.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e6e7d6f1597207141d224d5420dc690ae27a2feb6c4164180cecc453cd5816 |
|
MD5 | 0e681cfe06eb3c4fe4e909fc59ab59e9 |
|
BLAKE2b-256 | 6eaf76bb88b390bbf9c1dcbab90acd669168294c6d20b6a230b7333b432eee1b |
Hashes for voyager-2.0.9-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956a60f864a586991cdde09373caf5630ab3319c47b6cdad4bf05ea8ba96a578 |
|
MD5 | aef4398dffbf8eb33f14466c523defb9 |
|
BLAKE2b-256 | 51700d90ebf90ca6fa415513b63925f4b21aeebd9f6400ecce5dffdb3743039f |
Hashes for voyager-2.0.9-cp310-cp310-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3cfe84666314daaf51836f77dabaafeb064bcbe5d9435d9c97886af19ae2876 |
|
MD5 | 3afa4d18125451b5653504a027970fa1 |
|
BLAKE2b-256 | 79d962399eb8a907da7f9eba0e2facf78925d54ba644a9be671cd98e7b4f547f |
Hashes for voyager-2.0.9-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b17036c9b825f7062eb09ac613ca1e3fdb11712b1fc6d58bbbc201698e09c9 |
|
MD5 | 6cbd1f7ddf595924ce6808389bf90608 |
|
BLAKE2b-256 | ba6c5643effb7e495f8ee5c346e7b41961cb8d4dd6ef6952b24ec929a868f41c |
Hashes for voyager-2.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e1dd648040df093ddda74a6f361ec912caf981d20dfdd4b0d3bd7fb230147b |
|
MD5 | 06a189590a666e2401af361f3b53b8d2 |
|
BLAKE2b-256 | ff51c35a343471746e8964cb5d002a3367f5e28f5787c2c0689e0566a7406f66 |
Hashes for voyager-2.0.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d55f85d36111e950d42e7d78accca84c582d5606ec1bae2d4b2da41ccc3e7f2e |
|
MD5 | 37aaf1a185909e8d3f4fab2c443a4ae9 |
|
BLAKE2b-256 | 6f43096fcfa3443d37d8b5e4163b49b0d91f0456022df59017a8ae25ae4482d9 |
Hashes for voyager-2.0.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4095d4012479fa53b21f8a65c7790e844c3634a8ead1fca04f69a4a34ebc362 |
|
MD5 | ecd174b996e141b0fa4cfedbfca66937 |
|
BLAKE2b-256 | 5599d31f596e887d998c81671b8e345925f07ccc36dee7144dbf80f1c86fb187 |
Hashes for voyager-2.0.9-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5968f516a94832a599c9c1b64246b7f81344ed3fb49247fbdaba7e673c1e8a9 |
|
MD5 | 48e47450cc8e11e63b3300bd349f0cf5 |
|
BLAKE2b-256 | abbeecef9dfce07c535af6d11a4011a4a8693c4174ca8f87495e9ba30c8c7884 |
Hashes for voyager-2.0.9-cp39-cp39-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a38b7a232367095ef28350889b0c4ec8ce9f53c0a7839f2b06f517b652938e2c |
|
MD5 | 0fb66f4af05e7ddc1d076b06798b66b0 |
|
BLAKE2b-256 | 9f9af5467d52356995c9f64cb27a99211142abead24290bfb8ccfb38168ef91d |
Hashes for voyager-2.0.9-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b528c2d4290d944e7e4a22a8a02412fe80d09081fdab70747e2173b75fcc519 |
|
MD5 | 4bc9747c2dcf089a06f2bc63fabdb10d |
|
BLAKE2b-256 | 4dacc484d486084235f0727856ece44bc195e5fc4a2382375d36ae92b6b05472 |
Hashes for voyager-2.0.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb7d77de57bae225e57109a6dde4cede575c304f63db5c57d99e1aa3d1e27737 |
|
MD5 | e6697f611208f334d13e68e72a1ea558 |
|
BLAKE2b-256 | 78937c155388bd4f707c842af31845fb292d8a1586a11fb52e77ee752e4af2e1 |
Hashes for voyager-2.0.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f0a93a2c624310ae192c0225149a52d14f70ba6440904101ca6467400b47a2 |
|
MD5 | a85291e78e875e7b0771be48ed9b09bf |
|
BLAKE2b-256 | 6a40d947de7697ed1acb448654932e4489dd469572e5dc1b9ca4ae10d121d4bd |
Hashes for voyager-2.0.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a27d4b61b056af93eca94b5714cf8f101a98e8baf823ca3fefd5ee2ab536e3b |
|
MD5 | 9e7a729fe11cbaf4688d0be942d5d2f9 |
|
BLAKE2b-256 | 95f7eb5511de0a4ace2056a8b3d7ad40e3002043edca172a4a87165d5770a948 |
Hashes for voyager-2.0.9-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2b74cfa98da3ff7b091c66165c63767ef7b98f6385a5c4c9e4a26d03ff5faf |
|
MD5 | 9bbd9383ae77afa43093992963232a9a |
|
BLAKE2b-256 | eb80a1a136e893fb5890d6aa35e3f9f5048b5c19c1b362603607b462af6fa70f |
Hashes for voyager-2.0.9-cp38-cp38-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21585007295f6d3d7623751375a599cd3aa3644460cb70a37b59d9bc58771210 |
|
MD5 | c07651c92ad6bcf542fdab9893a0f20c |
|
BLAKE2b-256 | fdde62f17286d14944d8ec2e67c3f687a6a22b78000f9d384ce419bcb9c4f57a |
Hashes for voyager-2.0.9-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915fa8582414ea65c40a96685c37f2f44773e663da5ae8098ef2bd5af19e153c |
|
MD5 | 4bfaed9b87b29698114269627b0f5197 |
|
BLAKE2b-256 | 2cdbaee6906756c2fbb7e33baeb541a9d3f2790c7b5a48be7d18ddd1e648bb59 |
Hashes for voyager-2.0.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2468edbd5560f21b931e0a24953daaea4fa6763a1376009354846ba5f50ce687 |
|
MD5 | 0cc7f7f2285b4a5cf69f6b9c9fa4130e |
|
BLAKE2b-256 | 75d7b1077b9dd30cf2524f30eb08a71650979142c49bcecc6c230fec30a3d2f4 |
Hashes for voyager-2.0.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14089469f872b1e2b52d87d7d07d665035e10399d1fc38b64294c694617060ae |
|
MD5 | 1d24d7222cf60146629f6b6e53246af9 |
|
BLAKE2b-256 | 59598b2637ae251a20e6a603dfc310082c40873985d073931809b996d6c60d7b |
Hashes for voyager-2.0.9-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea92842f73abd3af384ef002134dc94b399a896d9f3b3220768e4b7cda252ab |
|
MD5 | 366166846282697ed4ff7b9dd252c284 |
|
BLAKE2b-256 | a5e5477b148b053e5bdaedc987b8d078f5ab760c2f79f6e94a40aac0a72ea14e |