pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #634: how to delete or update a vector node? 3+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #634: how to delete or update a vector node? @ 2024-07-29 02:40 "ViolaElrics (@ViolaElrics)" <noreply+ViolaElrics@github.com> 0 siblings, 0 replies; 3+ messages in thread From: ViolaElrics (@ViolaElrics) @ 2024-07-29 02:40 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> 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. :) ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #634: how to delete or update a vector node? @ 2024-07-29 03:17 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2024-07-29 03:17 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @ViolaElrics, dead tuples aren't removed from the index until a vacuum. Check out #244 for more info. ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #634: how to delete or update a vector node? @ 2024-07-29 03:17 "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2024-07-29 03:17 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-07-29 03:17 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-07-29 02:40 [pgvector/pgvector] issue #634: how to delete or update a vector node? "ViolaElrics (@ViolaElrics)" <noreply+ViolaElrics@github.com> 2024-07-29 03:17 ` "ankane (@ankane)" <noreply+ankane@github.com> 2024-07-29 03:17 ` "ankane (@ankane)" <noreply+ankane@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