Top all-time · #19794
Bart de Goede
Personal blog · bart.degoe.de · on HN as bartdegoedeprogrammingdataai
Bart de Goede's personal blog at bart.degoe.de covers programming, data and ai. Since 2018, 3 different Hacker News readers have linked it 21 times, most often “Building a full-text search engine in 150 lines of Python code”. It is still writing: the last post was on 2026-10-20, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
HN readers link Bart de Goede's post on building a full-text search engine with tf-idf, indexing Wikipedia. One commenter cites it while asking whether fuzzy search or tf-idf suits autocomplete.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Bart de Goede writes about search engineering: full-text and semantic search, small language models in your browser and on your laptop, Python, and Hugo.
Most-linked posts?
- Building a full-text search engine in 150 lines of Python code3 people · 3 mentions · first linked 2021-03-25
What Hacker News says?
Do you know what approach is better for autocomplete search: fuzzy search or tf-idf? Recently I read this post [0] about indexing Wikipedia using tf-idf. However, I've seen that fuzzy search is often used for autocomplete [1]. [0] https://bart.degoe.de/building-a-full-text-search-engine-150... [1] https://github.com/farzher/fuzzysort
Comment linking /building-a-full-text-search-engine-150-lines-of-code/
on “Autocomplete – a JavaScript library for building autocomplete experiences”Submitted Building a full-text search engine in 150 lines of Python code as a story · 381 points
HN discussionIt will contain all content for pages that are live (in my case that's only 2 so far: http://bart.degoe.de/js/search/index.json ), so your user will download all the content you want to have available for search on your site on page load, and then, depending on your index configuration, load more data in memory. Lunr has an analysis pipeline that will generate a bunch of tokens for queries to match on, and you can d…
Comment linking /js/search/index.json
on “Searching your Hugo site with Lunr.js”Submitted Free SSL on Github Pages with a custom domain: Part 2 – Let's Encrypt as a story · 163 points
HN discussionSubmitted Building a full-text search engine in 150 lines of Python code (2021) as a story · 84 points
HN discussionSubmitted Use Hugo Output Formats to generate Lunr index files for your static site search as a story · 12 points
HN discussionSubmitted Free SSL with a Custom Domain on GitHub Pages as a story · 9 points
HN discussionSubmitted Running RAG with a (small) language model in the browser as a story · 8 points
HN discussionSubmitted Semantic/Hybrid Search in the Browser as a story · 8 points
HN discussionSubmitted OpenClaw can book flights. But can it survive a dungeon crawl? as a story · 5 points
HN discussionSubmitted Use Google Cloud Text-to-Speech to create an audio version of your blog posts as a story · 5 points
HN discussionSubmitted Building a semantic search engine in ±250 lines of Python as a story · 4 points
HN discussionSubmitted Narrating your blog with Kokoro, a local and open source text-to-speech model as a story · 3 points
HN discussionSubmitted Modernizing my "150-line" Python search engine as a story · 3 points
HN discussionSubmitted Migrating my hopelessly outdated Hugo blog with Claude Code as a story · 3 points
HN discussionSubmitted Building a semantic search engine in ±250 lines of code as a story · 2 points
HN discussionSubmitted Custom OpenSearch: search from your URL bar as a story · 2 points
HN discussionSubmitted Bloom filters; using bit arrays for recommendations, caches and Bitcoin as a story · 2 points
HN discussionSubmitted Searching your Hugo site with Lunr.js as a story · 2 points
HN discussionSubmitted Fine-tuning a small language model for RAG in a browser on a Mac as a story · 1 points
HN discussionSubmitted Running a coding agent locally with MLX for when you hit your token cap as a story · 1 points
HN discussion