How Levels.fyi Built Scalable Search with PostgreSQL

How to build a great search experience using hybrid search.
A combination of:
◇ fts, tsvector, pg_trgm
◇ Structured output to narrow down (filters, date-range etc) https://t.co/y8YoDdTn6G
Building a web search engine from scratch in two months with 3 billion neural embeddings
blog.wilsonl.inThis is, by far, one of the best uses of modern AI.
If you don't use embeddings when querying your database, you are definitely leaving a lot on the table.
In this video, I'll show you how to run semantic searches using OpenAI and PostgreSQL. It's all thanks to Pgai, an open-source... See more
Santiagox.com
Hybrid search: combine embeddings + FTS for solid matching
◇ Drizzle ORM
◇ PgVector
◇ gemini-embedding-001 https://t.co/rMvsAZt0mm