static L imSearch(S query) { query = trim(query); new Map scores; for (AIConcept c : values(aiConceptsMap_cached()) { int score = scoredSearch_score(s.name, query)*2; score += scoredSearch_score(s.comment, query); if (eqic(s.globalID, query)) score += 10; if (score != 0) scores.put(s, score); } ret keysSortedByValuesDesc(scores); }