Semantic search over Hacker News, built on pgvector
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I built https://ask.rivestack.io — a semantic search engine over Hacker News posts. Instead of keyword matching, it finds results by meaning, so you can search things like "best way to handle authentication in microservices" and get relevant threads even if they don't contain those exact words. How it works:Indexed HN posts and comments into PostgreSQL with pgvector (HNSW index) Embeddings generated with OpenAI's embedding model Queries run as nearest-neighbor vector searches — typical response under 50ms The whole thing runs on a single Postgres instance, no separate vector DBI built this partly because I wanted a better way to search HN, and partly to dogfood my own project — Rivestack (https://rivestack.io), a managed PostgreSQL service with pgvector baked in. I wanted to see how pgvector holds up with a real dataset at a reasonable scale. A few things I learned along the way:HNSW vs IVFFlat matters a lot at this scale. HNSW gave me much better recall with acceptable index build times. Storing embeddings alongside relational data in the same DB simplifies things enormously — no syncing between a vector store and your main DB. pgvector has gotten surprisingly fast in recent versions. For most use cases, you really don't need a dedicated vector database.The search is free to use. Rivestack has a free tier too if anyone wants to try something similar. Happy to answer questions about the architecture, pgvector tuning, or anything else.
HN · launched Feb 22, 2026 · 5 upvotes (top 89%) · 0 views
Niche: vertical search engines and directories · 98 launches, 7 in the last 7 days ▼ -46% · Explore this niche →
Category and tags
- Horizontal
- Search & retrieval
- Developer
- AI feature
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 98 launches in vertical search engines and directories →
Could you build this?
Yes Semantic search over HN can be vibe-coded in a weekend by ingesting public HN API/BigQuery data, computing OpenAI embeddings, and querying a PostgreSQL instance with pgvector.
Discussion
2 comments analyzed.
Competitors mentioned: Elasticsearch/OpenSearch, Dedicated vector databases, OpenAI ada-002, Cohere embeddings
Concerns raised: Query performance at scale with pgvector
Feature requests: Filter by time range or karma score, Compare different embedding models
Competitors
Other products that read as similar to this one : 127 launches clear the similarity bar, closest 8 shown.
Attention rank: #111 of 128 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 100 days after the earliest competitor.
- Postgres extension for BM25 relevance-ranked full-text search · hn · 2026-03-31 · 203 upvotes · similarity 0.51
- EdgeVec · hn · 2025-12-12 · 7 upvotes · similarity 0.49
- RDST · hn · 2026-10-15 · 6 upvotes · similarity 0.45
- Omni · hn · 2026-03-02 · 177 upvotes · similarity 0.45
- Was tired of drowning in HN comments, so I built an AI Chief of Staff · hn · 2026-01-26 · 5 upvotes · similarity 0.44
- InsideStack · hn · 2025-12-27 · 5 upvotes · similarity 0.43
- pg_charabia · github · 2026-10-23 · 23 upvotes · similarity 0.43
- ErwinDB, a TUI to view 7k Stack Overflow answers by Postgres expert · hn · 2026-02-03 · 5 upvotes · similarity 0.43
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.