Skip to main content

qualified_name_boost

Function qualified_name_boost 

Source
pub fn qualified_name_boost(query: &str) -> f64
Expand description

Returns 2.0 if the query contains :: and is a qualified-name pattern, 1.0 otherwise. Applied as a multiplier to results whose qualified_name contains the query as a substring.