Case study · Search engine
LaneHelp Search
One search box that understands “my power is about to get shut off” — across every kind of record on the site.
LaneHelp Search is the engine behind the homepage box, the directory, Paddle, and the text line. One query reaches listings, how-to guides, events, jobs, and tools, and it is built around the words people actually use rather than the words agencies file things under.
- Who it serves
- Everyone who uses LaneHelp — and the staff who need to know what people are looking for and not finding.
- First shipped
- First commit, “Add plain-language directory search,” on March 25, 2026. Search, Resources, and Paddle were unified around one retrieval system on July 19.
- Built with
- TypeScript on Cloudflare Workers · Postgres full-text search (Supabase) · Workers AI embeddings (BGE large, 1,024 dimensions) · Durable Objects for limits and budgets

The problem
What was in the way
Agencies describe services in their own vocabulary: “LIHEAP,” “energy assistance,” “utility programs.” A person whose power is about to be shut off types none of those words.
Keyword search misses them. A search that leans on a language model guesses, cannot explain its order, and can say something confident and wrong about a place someone is about to travel to.
What was built
Inside LaneHelp Search
- 01ScrubPersonal details come out before anything is logged.
- 02UnderstandTask, subject, urgency, cost, and what to rule out.
- 03MatchKeyword and meaning-based results across 18 record types, fused.
- 04Rank31 readable features; wrong-subject and unsafe matches sink.
- 05AnswerDirectory next steps first; a cited Paddle answer only as a fallback.
Understand the request before searching
Every query becomes a typed intent first: which of twenty tasks it is (find a shelter, replace an ID, deal with a lockout, get somewhere by bus, apply for jobs), what it is about, how urgent it is, whether cost matters, and what the person ruled out (“not a shelter”).
Two kinds of matching, merged
- Keyword matching in Postgres and meaning-based matching with 1,024-dimension embeddings on Cloudflare Workers AI run side by side, across 18 kinds of record.
- Their result lists are merged with reciprocal rank fusion, so neither method decides alone.
- If the meaning-based side is slow or down, a circuit breaker drops it and keyword results still come back.
A ranker that can be read
The final order comes from a fixed ranker with 31 named, weighted features. Exact names and aliases count for more; a result about the wrong subject, a known bad match, or an unsafe claim about how a place operates is pushed down hard. When a result is wrong, the reason is visible and fixable.
Measured, not eyeballed
- 180 adversarial test cases — 165 of them real queries from an audit — are graded blind by reviewers in the admin tools.
- Up and down votes change ranking only after at least five votes with a margin of three, and older votes fade with a 30-day half-life.
Ideas that unfold from the box
The main search boxes on LaneHelp.com (the homepage, directory, search page, Health, Jobs, Housing, Shelter, How-tos, Events, and the map) open the same way. Tapping one unfolds a short set of questions, tools, and pages beneath it, and the page below moves down to make room. Nothing floats over the page. Each page offers its own set: shelter tonight and the electric bill on the homepage, Paddle’s six job actions on Jobs, coverage and bills on Health, preschool, GED classes, and enrollment when the directory is filtered to Education. The list is matched in the browser from one registry, with no request sent when the box opens. Analytics count only which listed idea was chosen, never the words typed, and Health records even that only as “sensitive.”
The directory answers first
Above the results, a short “Directory next steps” note is assembled from the listings themselves. Paddle’s written answer steps in only when the directory and how-to guides cannot answer, and then each claim has to point to the exact source text it came from, or it is dropped.
The hard part
Learn what people need without keeping who they are
Search queries are the best record of unmet need in the county, and they are also personal. Before a query is stored it is scrubbed of email addresses, phone numbers, Social Security numbers, street addresses, dates, names people introduce themselves with, and long account or case numbers. Crisis disclosures are never written to persistent logs.
Staff see demand as topics and counts, and a meeting-privacy switch hides free text entirely when a screen is shared.
What it shows
What this says about the work
- Hybrid search — keyword plus embeddings — with rank fusion and a ranker a person can read.
- Search quality treated as a tested system, with real adversarial cases.
- Privacy engineering on sensitive, real-world input.
Want something like LaneHelp Search?
It does not need to look like this one. Describe what your team or community is up against, and the conversation starts there.