pgvector: index wide embeddings with a halfvec cast
Summary Keep full-precision embeddings in storage and index a halfvec expression when its HNSW dimension limit fits. Match the cast and cosine operator in the query with halfvec_cosine_ops
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread pgvector-hnsw-dimension-limit-halfvec-expression and help me try it