pgvector.git / summary / log / commit / refs

commit    552c64d492eda026c522e8f21ffd45bb9af0e034
Author:   Andrew Kane <andrew@ankane.org>
Date:     Sat Aug 26 03:39:07 2023 +0000

    Improved HNSW code


src/hnswutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index ea340449..ccd9799b 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -624,7 +624,7 @@ HnswSearchLayer(Datum q, List *ep, int ef, int lc, Relation index, FmgrInfo *pro Assert(!e->element->deleted); /* Skip self for vacuuming update */ - if (skipElement != NULL && e->element->neighborPage == skipElement->neighborPage && e->element->neighborOffno == skipElement->neighborOffno) + if (skipElement != NULL && e->element->blkno == skipElement->blkno && e->element->offno == skipElement->offno) continue; /* Make robust to issues */ [parent: 86c29b3bf038]