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. :)