LOADING…
0%
Complete changelog

Commit

Add HNSW vector index for scalable similarity search

Commit details

Commit notes

- Add migration 0018_vector_search_index.sql with HNSW index - Ensures pgvector extension is enabled - Creates embedding_vector column with sync trigger from embedding array - Adds HNSW index with cosine distance for O(log n) search complexity - Adds partial indexes for project-scoped and user-scoped searches - Includes detailed performance documentation

This makes similarity search scale to thousands/millions of samples without performance degradation.

Co-authored-by: armin.naimi <[email redacted]>

Files changed
2
Lines added
+127
Lines removed
−0
This page is a permanent record of commit 9a2c50c9.