pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ViolaElrics (@ViolaElrics) <noreply+ViolaElrics@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #634: how to delete or update a vector node?
Date: Mon, 29 Jul 2024 02:40:53 +0000
Message-ID: <gh-pgvector-pgvector-634@github.com> (raw)

When I want to update or delete a node in the hnsw index, the index actually hides the node, and repair graph in vacuum. 
1. I wonder before vacuum, how to hide the node? It seems that each element has a deteled attribute, but I cannot find when to change "etup->delete = 1" except in the "MarkDeleted" function, which only works in vacuum process actually. 
2. I am also curious about how to skip the hide node when searching neighbor nodes? 
I would be greatly appreciated your help in this matter. :)

view thread (3+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-634@github.com>
Permalink:  ../gh-pgvector-pgvector-634@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox