mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-22 12:07:34 +08:00
Compare commits
1 Commits
dynamic-pr
...
dynamic-pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7132c9b111 |
@@ -135,7 +135,7 @@ GetScanItems(IndexScanDesc scan, Datum value)
|
||||
IvfflatScanList *scanlist = (IvfflatScanList *) pairingheap_remove_first(so->listQueue);
|
||||
|
||||
/* Query-aware dynamic pruning */
|
||||
if (scanlist->distance > 2 * so->minDistance)
|
||||
if (fabs(scanlist->distance) > 1.5 * fabs(so->minDistance))
|
||||
continue;
|
||||
|
||||
searchPage = scanlist->startPage;
|
||||
|
||||
Reference in New Issue
Block a user