mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-04 03:30:56 +08:00
Improved code [skip ci]
This commit is contained in:
@@ -426,7 +426,7 @@ WriteElement(Relation index, FmgrInfo *procinfo, Oid collation, HnswElement elem
|
||||
if (entryPoint == NULL && newEntryPoint != NULL)
|
||||
{
|
||||
/* Try again with new entry point */
|
||||
HnswInsertElement(element, newEntryPoint, index, procinfo, collation, m, efConstruction, false);
|
||||
HnswInsertElement(element, newEntryPoint, index, procinfo, collation, m, efConstruction, true);
|
||||
UpdateNeighborPages(index, procinfo, collation, element, m);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user