buda-base / autocomplete-prototype

prototype for an autocomplete service for BDRC
MIT License
2 stars 0 forks source link

Prioritise non-fuzzy matches #2

Closed roopeux closed 6 months ago

roopeux commented 7 months ago

When I type "chod", I get

chos grags ye shes/
chos rgyal khri srong lde btsan/
chos sku/
chos rgyal dri med kun ldan/
chos grags/
chos sku'i ye shes/
chos grags bzang po/
chos grags, rdor 'bum/
chos sku sangs rgyas yar byon/
chos/

...although there would be chod nyid nam mkha'i klong mdzod las/_bka' srung gnod sbyin btsan rgod

The main principle would be to suggest non-fuzzy matches first. We can later see if we want to balance this a bit with popularity, but not yet.

eroux commented 6 months ago

duplicate of #3