timescale / pgvectorscale

A complement to pgvector for high performance, cost efficient vector search on large workloads.
PostgreSQL License
1.11k stars 47 forks source link

adding pgvectorscale #114

Open legaltextai opened 2 months ago

legaltextai commented 2 months ago

does pgvectorscale require specific columns in my PG table, the same as in your example? e.g. I have 'id' , 'vector', and 'metadata' columns, no dates, with pgvector (hnsw) index over 'vector' can I add pgvectorscale? if I can, will I need to / can I delete the previous pgvector/hnsw index? thank you

cevian commented 1 month ago

No specific columns are required except for the vector column. Yes, you can just add pgvectorscale on the vector column and drop the hnsw index.