Skip to content

Commit 7d2eb49

Browse files
committed
Fixed list assignment for cosine distance and non-normalized vectors for IVFFlat
1 parent 772ab69 commit 7d2eb49

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Improved cost estimation
55
- Improved performance of HNSW inserts and on-disk index builds
66
- Reduced memory usage for HNSW index scans
7+
- Fixed list assignment for cosine distance and non-normalized vectors for IVFFlat
78
- Dropped support for Postgres 12
89

910
## 0.7.4 (2024-08-05)

src/ivfinsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ InsertTuple(Relation index, Datum *values, bool *isnull, ItemPointer heap_tid, R
100100
IvfflatGetMetaPageInfo(index, NULL, NULL);
101101

102102
/* Find the insert page - sets the page and list info */
103-
FindInsertPage(index, values, &insertPage, &listInfo);
103+
FindInsertPage(index, &value, &insertPage, &listInfo);
104104
Assert(BlockNumberIsValid(insertPage));
105105
originalInsertPage = insertPage;
106106

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy