Repository: spotify/voyager (language: python)

Issue:
Returning Duplicate Neighbors
It's weird, but I get completely different results when running the first example of the [documentation](https://spotify.github.io/voyager/python/reference.html):

```python
import numpy as np
from voyager import Index, Space

# Create an empty Index object that can store vectors:
index = Index(Space.Euclidean, num_dimensions=5)
id_a = index.add_item([1, 2, 3, 4, 5])
id_b = index.add_item([6, 7, 8, 9, 10])

print(id_a)  # => 0
print(id_b)  # => 1

# Find the two closest elements:
neighbors, distances = index.query([1, 2, 3, 4, 5], k=2)
print(neighbors)  # => [0, 1]
print(distances)  # => [0.0, 125.0]
```


```
0
1
[0 0]
[0. 0.]
```

It seems when querying, a neighbor is being considered more than once.
My device is Mac M1Pro, Python 3.12.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml
index 802f8adc..faa331e9 100644
--- a/.github/workflows/all.yml
+++ b/.github/workflows/all.yml
@@ -37,7 +37,7 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - name: Check C++ Formatting
-        uses: jidicula/clang-format-action@v4.4.1
+        uses: jidicula/clang-format-action@v4.13.0
         with:
           clang-format-version: 14
           fallback-style: LLVM
@@ -273,10 +273,6 @@ jobs:
           # on macOS and with Python 3.10: building NumPy from source fails without these options:
           CIBW_ENVIRONMENT: NPY_BLAS_ORDER="" NPY_LAPACK_ORDER=""
           CIBW_REPAIR_WHEEL_COMMAND_LINUX: pip install auditwheel-symbols && (auditwheel repair -w {dest_dir} {wheel} || auditwheel-symbols --manylinux 2010 {wheel})
-          # The manylinux container doesn't have a new enough glibc version,
-          # so we can't run post-wheel-build tests there.
-          # Also testing any pypy versions fails, as TensorFlow isn't pypy compatible.
-          CIBW_TEST_SKIP: "*manylinux* *pp* *-macosx_universal2:arm64"
           # Use the minimum macOS deployment target that has C++17 support:
           MACOSX_DEPLOYMENT_TARGET: "10.13"
       - uses: actions/upload-artifact@v3
diff --git a/docs/java/allclasses-index.html b/docs/java/allclasses-index.html
index 7cc78c41..29324ea1 100644
--- a/docs/java/allclasses-index.html
+++ b/docs/java/allclasses-index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>All Classes and Interfaces (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>All Classes and Interfaces (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="class index">
 <meta name="generator" content="javadoc/AllClassesIndexWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
diff --git a/docs/java/allpackages-index.html b/docs/java/allpackages-index.html
index 3dc29141..150189af 100644
--- a/docs/java/allpackages-index.html
+++ b/docs/java/allpackages-index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>All Packages (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>All Packages (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="package index">
 <meta name="generator" content="javadoc/AllPackagesIndexWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/Index.QueryResults.html b/docs/java/com/spotify/voyager/jni/Index.QueryResults.html
index 79666204..c70d89c4 100644
--- a/docs/java/com/spotify/voyager/jni/Index.QueryResults.html
+++ b/docs/java/com/spotify/voyager/jni/Index.QueryResults.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Index.QueryResults (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Index.QueryResults (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: Index, class: QueryResults">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/Index.SpaceType.html b/docs/java/com/spotify/voyager/jni/Index.SpaceType.html
index a259900a..63a23483 100644
--- a/docs/java/com/spotify/voyager/jni/Index.SpaceType.html
+++ b/docs/java/com/spotify/voyager/jni/Index.SpaceType.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Index.SpaceType (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Index.SpaceType (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: Index, enum: SpaceType">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html b/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html
index 9001e47d..83b1aeb7 100644
--- a/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html
+++ b/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Index.StorageDataType (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Index.StorageDataType (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: Index, enum: StorageDataType">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/Index.html b/docs/java/com/spotify/voyager/jni/Index.html
index 3080bfca..54b5fc9b 100644
--- a/docs/java/com/spotify/voyager/jni/Index.html
+++ b/docs/java/com/spotify/voyager/jni/Index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Index (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Index (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: Index">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html b/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html
index 781ace42..40386473 100644
--- a/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html
+++ b/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>StringIndex.QueryResults (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>StringIndex.QueryResults (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: StringIndex, class: QueryResults">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/StringIndex.html b/docs/java/com/spotify/voyager/jni/StringIndex.html
index 4724665f..a64969f4 100644
--- a/docs/java/com/spotify/voyager/jni/StringIndex.html
+++ b/docs/java/com/spotify/voyager/jni/StringIndex.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>StringIndex (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>StringIndex (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni, class: StringIndex">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html b/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html
index a54d8b22..24cceeec 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: Index, class: QueryResults">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html b/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html
index 8a8d9b18..b5c90abb 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: Index, enum: SpaceType">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html b/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html
index 1da83764..82680c41 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: Index, enum: StorageDataType">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.html b/docs/java/com/spotify/voyager/jni/class-use/Index.html
index 31e28b4f..2e142634 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/Index.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: Index">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html
index 47b898ea..717d5af2 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: StringIndex, class: QueryResults">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html
index 6ef343d4..dcc602e9 100644
--- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html
+++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni, class: StringIndex">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html
index 8874c213..61b9f616 100644
--- a/docs/java/com/spotify/voyager/jni/package-summary.html
+++ b/docs/java/com/spotify/voyager/jni/package-summary.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager.jni (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager.jni (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni">
 <meta name="generator" content="javadoc/PackageWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html
index 10345de9..c51f0b6f 100644
--- a/docs/java/com/spotify/voyager/jni/package-tree.html
+++ b/docs/java/com/spotify/voyager/jni/package-tree.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager.jni Class Hierarchy (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="tree: package: com.spotify.voyager.jni">
 <meta name="generator" content="javadoc/PackageTreeWriter">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html
index b6805699..a46349fe 100644
--- a/docs/java/com/spotify/voyager/jni/package-use.html
+++ b/docs/java/com/spotify/voyager/jni/package-use.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Package com.spotify.voyager.jni (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni">
 <meta name="generator" content="javadoc/PackageUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html
index 5a6b838f..b164e575 100644
--- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html
+++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>JniLibExtractor (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>JniLibExtractor (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni.utils, class: JniLibExtractor">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html
index 22efec91..cf2260df 100644
--- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html
+++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>TinyJson (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>TinyJson (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni.utils, class: TinyJson">
 <meta name="generator" content="javadoc/ClassWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html
index e2293f76..e69e288e 100644
--- a/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html
+++ b/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni.utils, class: JniLibExtractor">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html
index 37d74b16..4d7362c1 100644
--- a/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html
+++ b/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni.utils, class: TinyJson">
 <meta name="generator" content="javadoc/ClassUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/package-summary.html b/docs/java/com/spotify/voyager/jni/utils/package-summary.html
index 0b94ebeb..6ef05e99 100644
--- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html
+++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager.jni.utils (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager.jni.utils (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager.jni.utils">
 <meta name="generator" content="javadoc/PackageWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/package-tree.html b/docs/java/com/spotify/voyager/jni/utils/package-tree.html
index 4c7d26a1..52d86e53 100644
--- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html
+++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="tree: package: com.spotify.voyager.jni.utils">
 <meta name="generator" content="javadoc/PackageTreeWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/jni/utils/package-use.html b/docs/java/com/spotify/voyager/jni/utils/package-use.html
index 741ff36b..655f67bd 100644
--- a/docs/java/com/spotify/voyager/jni/utils/package-use.html
+++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager.jni.utils">
 <meta name="generator" content="javadoc/PackageUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html
index 62440e81..e67fce57 100644
--- a/docs/java/com/spotify/voyager/package-summary.html
+++ b/docs/java/com/spotify/voyager/package-summary.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="declaration: package: com.spotify.voyager">
 <meta name="generator" content="javadoc/PackageWriterImpl">
 <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html
index f7a9062d..cae542be 100644
--- a/docs/java/com/spotify/voyager/package-tree.html
+++ b/docs/java/com/spotify/voyager/package-tree.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>com.spotify.voyager Class Hierarchy (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>com.spotify.voyager Class Hierarchy (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="tree: package: com.spotify.voyager">
 <meta name="generator" content="javadoc/PackageTreeWriter">
 <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
diff --git a/docs/java/com/spotify/voyager/package-use.html b/docs/java/com/spotify/voyager/package-use.html
index 8366261c..ce43ad13 100644
--- a/docs/java/com/spotify/voyager/package-use.html
+++ b/docs/java/com/spotify/voyager/package-use.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Uses of Package com.spotify.voyager (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Uses of Package com.spotify.voyager (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="use: package: com.spotify.voyager">
 <meta name="generator" content="javadoc/PackageUseWriter">
 <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
diff --git a/docs/java/help-doc.html b/docs/java/help-doc.html
index 4a790257..f598e5f8 100644
--- a/docs/java/help-doc.html
+++ b/docs/java/help-doc.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>API Help (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>API Help (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="help">
 <meta name="generator" content="javadoc/HelpWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
diff --git a/docs/java/index-all.html b/docs/java/index-all.html
index ec19bac3..89b7161e 100644
--- a/docs/java/index-all.html
+++ b/docs/java/index-all.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Index (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Index (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="index">
 <meta name="generator" content="javadoc/IndexWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
diff --git a/docs/java/index.html b/docs/java/index.html
index 7a1cdf5a..60262248 100644
--- a/docs/java/index.html
+++ b/docs/java/index.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Overview (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Overview (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="package index">
 <meta name="generator" content="javadoc/PackageIndexWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@@ -49,7 +49,7 @@
 <div class="flex-content">
 <main role="main">
 <div class="header">
-<h1 class="title">voyager 2.0.6 API</h1>
+<h1 class="title">voyager 2.0.7 API</h1>
 </div>
 <div id="all-packages-table">
 <div class="caption"><span>Packages</span></div>
diff --git a/docs/java/overview-summary.html b/docs/java/overview-summary.html
index 03fd0719..60a4f69c 100644
--- a/docs/java/overview-summary.html
+++ b/docs/java/overview-summary.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>voyager 2.0.6 API</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>voyager 2.0.7 API</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="index redirect">
 <meta name="generator" content="javadoc/IndexRedirectWriter">
 <link rel="canonical" href="index.html">
diff --git a/docs/java/overview-tree.html b/docs/java/overview-tree.html
index 60bb1263..dae4119b 100644
--- a/docs/java/overview-tree.html
+++ b/docs/java/overview-tree.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
-<!-- Generated by javadoc (17) on Fri Mar 22 13:26:40 EDT 2024 -->
-<title>Class Hierarchy (voyager 2.0.6 API)</title>
+<!-- Generated by javadoc (17) on Fri Jul 05 16:05:11 UTC 2024 -->
+<title>Class Hierarchy (voyager 2.0.7 API)</title>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="dc.created" content="2024-03-22">
+<meta name="dc.created" content="2024-07-05">
 <meta name="description" content="class tree">
 <meta name="generator" content="javadoc/TreeWriter">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
diff --git a/docs/python/_static/documentation_options.js b/docs/python/_static/documentation_options.js
index bdca59d1..dcd5201a 100644
--- a/docs/python/_static/documentation_options.js
+++ b/docs/python/_static/documentation_options.js
@@ -1,5 +1,5 @@
 const DOCUMENTATION_OPTIONS = {
-    VERSION: '2.0.6',
+    VERSION: '2.0.7',
     LANGUAGE: 'en',
     COLLAPSE_INDEX: false,
     BUILDER: 'html',
diff --git a/docs/python/genindex.html b/docs/python/genindex.html
index 6f591ae0..dc2d29e9 100644
--- a/docs/python/genindex.html
+++ b/docs/python/genindex.html
@@ -5,7 +5,7 @@
     <meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />
         <link rel="canonical" href="voyager/python/genindex.html" />
 
-    <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 --><title>Index - Voyager 2.0.6 Python Documentation</title>
+    <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 --><title>Index - Voyager 2.0.7 Python Documentation</title>
 <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
     <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
     <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
@@ -123,7 +123,7 @@
       </label>
     </div>
     <div class="header-center">
-      <a href="index.html"><div class="brand">Voyager 2.0.6 Python Documentation</div></a>
+      <a href="index.html"><div class="brand">Voyager 2.0.7 Python Documentation</div></a>
     </div>
     <div class="header-right">
       <div class="theme-toggle-container theme-toggle-header">
@@ -149,7 +149,7 @@
     <img class="sidebar-logo" src="_static/voyager-outline-color.png" alt="Logo"/>
   </div>
   
-  <span class="sidebar-brand-text">Voyager 2.0.6 Python Documentation</span>
+  <span class="sidebar-brand-text">Voyager 2.0.7 Python Documentation</span>
   
 </a><form class="sidebar-search-container" method="get" action="search.html" role="search">
   <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
diff --git a/docs/python/index.html b/docs/python/index.html
index 5fb5b4f8..b99e3595 100644
--- a/docs/python/index.html
+++ b/docs/python/index.html
@@ -6,7 +6,7 @@
 <meta property="og:title" content="Voyager Documentation" />
 <meta property="og:type" content="website" />
 <meta property="og:url" content="https://spotify.github.io/voyager/python/index.html" />
-<meta property="og:site_name" content="Voyager 2.0.6 Python Documentation" />
+<meta property="og:site_name" content="Voyager 2.0.7 Python Documentation" />
 <meta property="og:description" content="🛰️ Documentation for Voyager: A nearest-neighbor search library." />
 <meta property="og:image" content="https://github.com/spotify/voyager/assets/213293/190c07bf-bf43-43d3-a46b-ed71232bbcdd" />
 <meta property="og:image:alt" content="🛰️ Documentation for Voyager: A nearest-neighbor search library." />
@@ -15,7 +15,7 @@
         <link rel="canonical" href="voyager/python/index.html" />
 
     <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 -->
-        <title>Voyager 2.0.6 Python Documentation</title>
+        <title>Voyager 2.0.7 Python Documentation</title>
       <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
     <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
     <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
@@ -133,7 +133,7 @@
       </label>
     </div>
     <div class="header-center">
-      <a href="#"><div class="brand">Voyager 2.0.6 Python Documentation</div></a>
+      <a href="#"><div class="brand">Voyager 2.0.7 Python Documentation</div></a>
     </div>
     <div class="header-right">
       <div class="theme-toggle-container theme-toggle-header">
@@ -159,7 +159,7 @@
     <img class="sidebar-logo" src="_static/voyager-outline-color.png" alt="Logo"/>
   </div>
   
-  <span class="sidebar-brand-text">Voyager 2.0.6 Python Documentation</span>
+  <span class="sidebar-brand-text">Voyager 2.0.7 Python Documentation</span>
   
 </a><form class="sidebar-search-container" method="get" action="search.html" role="search">
   <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
diff --git a/docs/python/reference.html b/docs/python/reference.html
index 3f5bb71d..3fe2d96d 100644
--- a/docs/python/reference.html
+++ b/docs/python/reference.html
@@ -6,7 +6,7 @@
 <meta property="og:title" content="The voyager Python API" />
 <meta property="og:type" content="website" />
 <meta property="og:url" content="https://spotify.github.io/voyager/python/reference.html" />
-<meta property="og:site_name" content="Voyager 2.0.6 Python Documentation" />
+<meta property="og:site_name" content="Voyager 2.0.7 Python Documentation" />
 <meta property="og:description" content="This module provides classes and functions for creating indices of vector data. A quick example on how to get started: Enums: Utilities:" />
 <meta property="og:image" content="https://github.com/spotify/voyager/assets/213293/190c07bf-bf43-43d3-a46b-ed71232bbcdd" />
 <meta property="og:image:alt" content="🛰️ Documentation for Voyager: A nearest-neighbor search library." />
@@ -15,7 +15,7 @@
         <link rel="canonical" href="voyager/python/reference.html" />
 
     <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 -->
-        <title>The voyager Python API - Voyager 2.0.6 Python Documentation</title>
+        <title>The voyager Python API - Voyager 2.0.7 Python Documentation</title>
       <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
     <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
     <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
@@ -133,7 +133,7 @@
       </label>
     </div>
     <div class="header-center">
-      <a href="index.html"><div class="brand">Voyager 2.0.6 Python Documentation</div></a>
+      <a href="index.html"><div class="brand">Voyager 2.0.7 Python Documentation</div></a>
     </div>
     <div class="header-right">
       <div class="theme-toggle-container theme-toggle-header">
@@ -159,7 +159,7 @@
     <img class="sidebar-logo" src="_static/voyager-outline-color.png" alt="Logo"/>
   </div>
   
-  <span class="sidebar-brand-text">Voyager 2.0.6 Python Documentation</span>
+  <span class="sidebar-brand-text">Voyager 2.0.7 Python Documentation</span>
   
 </a><form class="sidebar-search-container" method="get" action="search.html" role="search">
   <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
diff --git a/docs/python/search.html b/docs/python/search.html
index bd731a1f..afc01b97 100644
--- a/docs/python/search.html
+++ b/docs/python/search.html
@@ -5,7 +5,7 @@
     <meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />
         <link rel="canonical" href="voyager/python/search.html" />
 
-    <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 --><title>Search - Voyager 2.0.6 Python Documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
+    <link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2024.01.29 --><title>Search - Voyager 2.0.7 Python Documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
     <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
     <link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
     <link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />
@@ -122,7 +122,7 @@
       </label>
     </div>
     <div class="header-center">
-      <a href="index.html"><div class="brand">Voyager 2.0.6 Python Documentation</div></a>
+      <a href="index.html"><div class="brand">Voyager 2.0.7 Python Documentation</div></a>
     </div>
     <div class="header-right">
       <div class="theme-toggle-container theme-toggle-header">
@@ -148,7 +148,7 @@
     <img class="sidebar-logo" src="_static/voyager-outline-color.png" alt="Logo"/>
   </div>
   
-  <span class="sidebar-brand-text">Voyager 2.0.6 Python Documentation</span>
+  <span class="sidebar-brand-text">Voyager 2.0.7 Python Documentation</span>
   
 </a><form class="sidebar-search-container" method="get" action="#" role="search">
   <input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
diff --git a/java/pom.xml b/java/pom.xml
index dcb1e46f..2cdcd527 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -12,7 +12,7 @@
 
   <name>voyager</name>
   <artifactId>voyager</artifactId>
-  <version>2.0.6</version>
+  <version>2.0.7</version>
 
   <description>
     Voyager is a library for performing fast approximate nearest-neighbor searches on an in-memory collection of vectors.
diff --git a/python/voyager/version.py b/python/voyager/version.py
index cb1c958f..f4b30dd7 100644
--- a/python/voyager/version.py
+++ b/python/voyager/version.py
@@ -17,6 +17,6 @@
 
 MAJOR = 2
 MINOR = 0
-PATCH = 6
+PATCH = 7
 
 __version__ = "%d.%d.%d" % (MAJOR, MINOR, PATCH)


Test patch:
diff --git a/python/tests/test_index_creation.py b/python/tests/test_index_creation.py
index bb8b36a3..5ddaa0f4 100644
--- a/python/tests/test_index_creation.py
+++ b/python/tests/test_index_creation.py
@@ -101,6 +101,9 @@ def test_create_and_query(
             assert labels[0] == i
         assert distances[0] < (distance_tolerance * num_dimensions)
 
+    labels, _ = index.query(input_data[0], k=len(ids))
+    assert set(ids) == set(labels)
+
     output_file = tmp_path / "index.voy"
     index.save(str(output_file))
     assert output_file.stat().st_size > 0