pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index?
4+ messages / 3 participants
[nested] [flat]

* [pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index?
@ 2024-12-03 05:56 "svim-ig (@svim-ig)" <noreply+svim-ig@github.com>
  0 siblings, 0 replies; 4+ messages in thread

From: svim-ig (@svim-ig) @ 2024-12-03 05:56 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

i run CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100) at time t1;...If i run CREATE INDEX again at time t2 (t2>t1) will the new vectors upserted at time t2 incorporated in ivfflat index?

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index?
@ 2024-12-03 15:07 ` "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2024-12-03 15:07 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @svim-ig, running `CREATE INDEX` again will create another index (same as other Postgres index types).

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index?
@ 2024-12-03 15:07 ` "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2024-12-03 15:07 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index?
@ 2024-12-03 15:47 ` "jkatz (@jkatz)" <noreply+jkatz@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: jkatz (@jkatz) @ 2024-12-03 15:47 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Additionally, if you have an existing index and add/remove rows, those rows are added/removed from the index; they're assigned to the closest list. However, the values of the lists themselves aren't updated unless you perform a reindex.

^ permalink  raw  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-12-03 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-12-03 05:56 [pgvector/pgvector] issue #723: If i run CREATE INDEX again will the new records added incorporated in index? "svim-ig (@svim-ig)" <noreply+svim-ig@github.com>
2024-12-03 15:07 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-12-03 15:07 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-12-03 15:47 ` "jkatz (@jkatz)" <noreply+jkatz@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