C
Chisel
CDP Demo
v0.1.0
—— capability 1 of 6 · Discovery

Search 200 reports across 50 students

Postgres full-text search over counselling reports, ranked by relevance. Filter by school, grade, or report kind.

Filters: Clear all
Showing: "Anvi Reddy"

1 result

ranked by relevance · top 30
Session note Oct 11, 2025 rank 0.189

Career exploration session — Grade 10

Anvi Reddy
CY-16871 · Gr 10
Jacaranda Heights

Anvi Reddy was engaged today. We explored their interest in civil services, discussing pathway options at the intersection

—— how Discovery works

Postgres FTS over every report, note and transcript

1
Tokenize

Every reports.text and counsellor_note is indexed by Postgres tsvector (english config). One GIN index, refreshed on insert.

2
Query

Search box runs plainto_tsquery + ts_rank_cd. Filter chips (school, grade, RIASEC, kind) compose into the same SQL — no client-side filtering.

3
Highlight

ts_headline wraps matches in <mark> tags so counsellors see the evidence in context.

4
Rank

Top 30 sorted by rank × recency. The aim is < 200 ms server-side on the full corpus, no Elasticsearch needed.