mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 07:06:57 +08:00
Made recall test less flaky
This commit is contained in:
@@ -82,7 +82,7 @@ foreach (@operators) {
|
|||||||
$node->safe_psql("postgres", "CREATE INDEX ON tst USING ivfflat (v $opclass);");
|
$node->safe_psql("postgres", "CREATE INDEX ON tst USING ivfflat (v $opclass);");
|
||||||
|
|
||||||
# Test approximate results
|
# Test approximate results
|
||||||
test_recall(1, 0.8, $operator);
|
test_recall(1, 0.75, $operator);
|
||||||
test_recall(10, 0.95, $operator);
|
test_recall(10, 0.95, $operator);
|
||||||
test_recall(100, 1.0, $operator);
|
test_recall(100, 1.0, $operator);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user