Semantic search over Hacker News, built on pgvector
Details
- External ID
- 47111800
- Source
- HN
- Company
- —
- Product
- Semantic search over Hacker News, built on pgvector
- Website domain
- rivestack.io
- Launched
- Feb. 22, 2026
- Cohort
- —
- Upvotes
- 5
- Upvotes percentile
- 0.10512129380053908
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
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.
Enrichment
- Theme
- database infrastructure and developer tools
- Vertical
- Media & entertainment
- Function
- Search & retrieval
- Audience
- B2C
- AI stance
- AI feature
- Project type
- Hobby / open-source project
- Normalized one-liner
- semantic search over hacker news
- Manually corrected
- False
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 — 83 launches clear the similarity bar, closest 8 shown.
Attention rank: #69 of 84 (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.50
- EdgeVec · hn · 2025-12-12 · 7 upvotes · similarity 0.47
- Omni · hn · 2026-03-02 · 177 upvotes · similarity 0.44
- Was tired of drowning in HN comments, so I built an AI Chief of Staff · hn · 2026-01-26 · 5 upvotes · similarity 0.42
- InsideStack · hn · 2025-12-27 · 5 upvotes · similarity 0.42
- ErwinDB, a TUI to view 7k Stack Overflow answers by Postgres expert · hn · 2026-02-03 · 5 upvotes · similarity 0.42
- Hacker News Search · ph · 2026-09-22 · 3 upvotes · similarity 0.42
- Pgsemantic · hn · 2026-03-25 · 18 upvotes · similarity 0.41
Other launches for this product
- No other launches for this product.