Catalogue / bernsteinbear-2025-blog-search

A personal blog's search runs in the browser, fetching word2vec vectors by HTTP Range request from static files on GitHub Pages

Not named in the source; the author's personal blog (bernsteinbear.com), 2025. Blog search over word embeddings, served as static files.

Organisation
Not named in the source; the author's personal blog (bernsteinbear.com)
Evidence
Reported from production
Source
A simple search engine from scratch*

bernsteinbear.com (personal blog), published 2025-05-20

Records

Decision#d1

Split the embeddings into a small index and a vector file read by HTTP Range requests, so a static host can serve search

Decision#d2

Rank posts by cosine similarity between summed word2vec embeddings of the query and of each post

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.