WorkContext · Hashnode
Building a cross-tool semantic search engine with PostgreSQL and pgvector
A practical walkthrough of indexing and querying content from connected tools.
In brief
Normalize imported records into a shared schema that preserves workspace, source type, and original URL. Store the text embeddings alongside those records so search and filtering can use the same database.
The full tutorial walks through adding a vector column and HNSW index, generating embeddings during ingestion, and using cosine distance to rank results within a workspace.