pub fn to_scored(hits: Vec<ArcDynHit>, query: &str) -> Vec<ScoredHit>
Assigns each hit a score based on how closely its title matches the query, discards non-matching hits and orders them highest to lowest.