3 ms·
How do you handle conflict with pgvector's hnsw if you want to install both extensions ? CREATE INDEX semantic_image ON image_table USING hnsw (v dist_cos_ops)
by raoufchebri 3y ago
How do you handle conflict with pgvector's hnsw if you want to install both extensions ?
CREATE INDEX semantic_image ON image_table USING hnsw (v dist_cos_ops) WITH (M=5, ef=30, ef_construction=30, dims=512);
- ngalstyan4 3y agoOur index access method will be called lantern_hnsw if pgvector or any other provider has already taken the hnsw access method name. btw, we did not create our own vector type and just use size-enforced real[] arrays to represent embeddings. However, you can use our index with pgvector's vector type. So, if you already have a table with pgvector's vector column type, you can start using Lantern by just creating an index on the same column.