mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Neither FullText nor Prefix FTS can match a fragment inside a single lexeme: kind-0 profile content is tokenized as whole names, so a member search for "kurs" never finds "mattkursmark". Contains mode matches the raw content with an escaped ILIKE pattern instead of a tsquery, keeping the community fence and the search_tsv allowlist exclusion (gift wraps et al stay invisible). Accepted on the bridge as search_mode="contains". Co-authored-by: Cursor <cursoragent@cursor.com>