Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9c4e10

Browse files
author
Vladlen Popolitov
committed
hnsw_relaxed updated to merge into pgvector master
1 parenta188d8f commitd9c4e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/hnswutils.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ HnswSearchLayerRelaxedNext(char *base, Datum q, Relation index,
14681468
HnswCandidate*ec;
14691469

14701470
if (index==NULL)
1471-
eDistance=GetElementDistance(base,e->element.ptr ,q,procinfo,collation) ;/// GetCandidateDistance(base, e, q, procinfo, collation);
1471+
eDistance=GetElementDistance(base,e->element.ptr ,q,procinfo,collation) ;
14721472
else
14731473
HnswLoadElement(eElement,&eDistance,&q,index,procinfo,collation, false,NULL);
14741474

@@ -1584,7 +1584,7 @@ HnswSearchLayerRelaxed(IndexScanDesc scan, List *ep, int ef)
15841584
HnswCandidate*ec;
15851585

15861586
if (index==NULL)
1587-
eDistance=GetElementDistance(base,e->element.ptr ,q,procinfo,collation);/// GetCandidateDistance(base, e, q, procinfo, collation);
1587+
eDistance=GetElementDistance(base,e->element.ptr ,q,procinfo,collation);
15881588
else
15891589
HnswLoadElement(eElement,&eDistance,&q,index,procinfo,collation, false,NULL);
15901590

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp