Skip to content
SprecherEast
Issue 1228

Search covers every page, tool and resource, not only events

Back to our plan
Open
enhancementfrontendcmspriority: high

Problem

Search shows events only and matches little text, so most of the site can't be found by searching: news posts, pages, FAQ and resources, and tools such as the property tax calculator.

Proposed fix

Index every public page type and tool in the existing search (native Payload search plugin first), match on body text as well as titles and descriptions, tolerate typos, and show results grouped by kind (page, post, event, tool, resource) in the UI kit.

Acceptance criteria

  • Not done: Failing tests first for what is indexed and how results are ranked.
  • Not done: A search finds a page, a post, an event, a resource and the calculator by plain words from their content.
  • Not done: Works on a phone; an empty or no-match search says so kindly and offers popular pages.
  • Not done: The news and events notes describe the new behavior in the same PR.

Files likely touched

The search index setup and sync in the news module, the search page, and the search box.

Must not touch

Accounts, forms, and deploy scripts.

Open questions

Should members-only content stay out of the index? Default: yes, public only.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab