Search understands meaning with AI, not only keywords
Back to our planProblem
Keyword search misses a neighbor who describes a need in their own words ("lower my bill", "where to get care") instead of the page's words.
Proposed fix
Add meaning-based (semantic) search on top of the keyword search from the previous issue, so results combine both. Follow the ladder and record each finding here: what Payload and Postgres offer natively (vector search in the database), then official and open-source plugins, then a cheap hosted embedding model, paid only if needed. Weigh cost per search, privacy (no neighbor data sent beyond the query) and a fallback to keyword search when the AI service is down. The site says search uses AI tools.
Acceptance criteria
- Not done: The ladder findings are recorded, with the choice and why.
- Not done: A short list of plain-language questions returns the right page in the first results, tested.
- Not done: Keyword search still works when the AI service is unavailable.
- Not done: Cost per month stays within a limit the owner agrees to.
Files likely touched
The search index sync, the search query code, and the search page.
Must not touch
Accounts and deploy scripts.
Open questions
A monthly cost ceiling, and whether queries may go to an outside service (the owner decides).
Generated by Claude Code, opens in a new tab