pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #335: How often if at all re-indexing needs to be done?
Date: Wed, 20 Dec 2023 01:26:18 +0000
Message-ID: <gh-pgvector-pgvector-335-c1863698895@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-335@github.com>
References: <gh-pgvector-pgvector-335@github.com>

Hi @JadenGeller, pgvector doesn't use either of those deletion policies. On vacuum, it updates connections for each live element by seeing what the connections would be if the element was freshly inserted. Check out [hnswvacuum.c](https://github.com/pgvector/pgvector/blob/master/src/hnswvacuum.c) for the full approach.

view thread (8+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-335-c1863698895@github.com>
Permalink:  ../gh-pgvector-pgvector-335-c1863698895@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