Search · real corpus · real hits · synonym-aware
Search HACSC.gov.
A real keyword search over the redesign's content corpus, with synonym expansion so residents and landlords find what they're looking for by what they would type, not by HACSC's internal page titles. Type a query below, or try one of the sample queries.
Try a query.
Results, snippets, and synonym expansion appear here.
Sample queries
- Returns the rent-calculation tutorial. Today, this query on hacosantacruz.org points to the broken-link PDF in the main navigation.
- Synonyms expand to {bed bugs, infestation, pest control}. Returns the pest-control page even though no record contains the exact phrase "report bedbugs".
- Expands to LEP / language assistance. Returns the language-services notice with the 72-hour interpreter scheduling line.
- Expands to {section 504, reasonable accommodation, RA}. Surfaces both the EN and ES Section 504 pages.
- Expands to VAWA. Returns the emergency-transfer + confidentiality page (HUD-5380 / 5382 forms inline).
- Expands to {report change, income change, interim}. Returns the income-change form, not a search dead end.
- Returns the RentCafe / SecureCafe portal, with the explicit note that the portal lives on securecafe.com (not hacosantacruz.org).
How this search differs from the current site
- Synonym expansion. "report bedbugs" finds the pest-control page even though that exact phrase appears nowhere in the corpus. Synonyms are configured by HACSC staff in a flat file, no AI.
- Faceted filtering. Type (page / form / policy / program), audience (resident / landlord / applicant / staff / public), language (EN / ES). Counts update as the query changes.
- Real snippets with the matched phrase in context. Not a one-line title list.
- Bilingual index. Queries in Spanish return Spanish-language records first. Queries that match both surface both.
- Reproducible. The corpus is a flat TypeScript file at
src/data/hacsc-search-corpus.tsand the index logic is atsrc/pages/api/hacsc-search.ts. Production extends this from a CMS dump.