Search Ranking (Hybrid)
Claustrum search defaults to hybrid retrieval and applies predictable boosts.
Base Retrieval
keyword: Postgres FTS candidatessemantic: embedding similarity candidateshybrid: weighted combination of keyword + semantic scores
Workspace-Tunable Boosts
Workspace settings control ranking behavior:
search_type_weights(JSON map)search_recency_half_life_days(default 14)search_subpath_boost_weight(default 1.5)
Effective Score
final = base_score * type_boost * recency_boost * subpath_boost
Where:
type_boostfavors decision/constraint-heavy contextrecency_boostdecays by half-lifesubpath_boostapplies in shared monorepo mode whenmetadata.subpathmatches current subpath
Debug Breakdown
When debug=true, each result can include:
vectorftstype_boostrecency_boostsubpath_boostfinal