Files
buzz/crates
Tom BatesandCursor 014364e133 fix(search): add contains mode for mid-token substring matching
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>
2026-07-23 11:14:04 -03:00
..