You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SearchableListBox default filter hides long items and short queries #270
The default SearchableListBox filter hides matching items. default_scorer uses only the BHoM Search_Engine WeightedRatio fuzzy match, which scales scores down when the item is much longer than the query, so long names and short queries fall below min_score (75).
How to replicate:
Filter a list containing GBR_London.Gatwick_2050_ASHRAE_RCP8.5.epw:
.epw hides it (shorter .epw names still show)
a, lo, 205 match nothing at all
Expected behaviour:
An item matches when it contains every word typed (case and punctuation ignored), listed first. Fuzzy matching is kept as a fallback for typos on queries of 4+ characters. The fuzzy-only scorer stays available as fuzzy_scorer.
Activity