pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ldhasson (@ldhasson) <noreply+ldhasson@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #569: Duplicate error when creating a vector index using HNSW
Date: Sat, 25 May 2024 12:42:57 +0000
Message-ID: <gh-pgvector-pgvector-569-c2131242658@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-569@github.com>
References: <gh-pgvector-pgvector-569@github.com>

Hello,

After further investigation, we found out that there may have been a previous index creation that failed but still left index artifacts around. There were two indices: "_idx" and "_idx1". I dropped them and rerun the index command and it worked that time.

I am not sure what could cause that. We initially had a column without a dimension, and creating the index failed. Then we changed the column and retried creating the index. I'll see if i can re-create that issue reliably, but it doesn't appear to be related to any duplicates in the data, but a duplicate index by name.

Thank you.

view thread (9+ messages)  latest in thread

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