pgvector.git / summary / log / commit / refs
commit ce7da66ca2a380200b4f62076dae73d199f6647f
Author: Andrew Kane <andrew@ankane.org>
Date: Tue Aug 22 03:57:54 2023 +0000
Updated comment [skip ci]
test/t/014_hnsw_inserts.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/t/014_hnsw_inserts.pl b/test/t/014_hnsw_inserts.pl
index 0f95d1f9..f69bcd62 100644
--- a/test/t/014_hnsw_inserts.pl
+++ b/test/t/014_hnsw_inserts.pl
@@ -66,6 +66,7 @@ my $count = $node->safe_psql("postgres", qq(
SELECT COUNT(*) FROM (SELECT v FROM tst ORDER BY v <-> (SELECT v FROM tst LIMIT 1)) t;
));
# Elements may lose all incoming connections with the HNSW algorithm
+# Vacuuming can fix this if one of the elements neighbors is deleted
cmp_ok($count, ">=", 997);
is(idx_scan(), 21);
[parent: c6be1c5e13b8]