Skip to main content

detect_kind_boost

Function detect_kind_boost 

Source
pub fn detect_kind_boost(query: &str) -> Vec<KindBoost>
Expand description

Detect likely symbol kinds from query shape to boost relevance scores. Returns an empty vec when the query is a qualified name (contains ::) because qualified names use exact-match boosting instead (see qualified_name_boost).