That latter looks like a genuine bug; in case of exact word prefix match, the whole string prefix distance is based on the number of words to the left of the match, and the whole string suffix distance on the number of letters to the right, so far end matches indeed get better relevance.BansheeXYZ wrote: ↑Sun Jul 14, 2019 1:49 pm There's some kind of far-reaching suggestion code going on here that only works well on long strings, and interferes hardcore on short ones. If I type in "Hearmsly Manor" it offers me "Hearthsly Manor". Ok, neat. But if I type in just "Hea", "Hearthsly Manor" doesn't even show up. If I type in "Heart", the very first result is "The Tombs of Hearthston" followed by a bunch of towns that actually start with "Heart".
I'm working on a fix that should make prefixes and suffixes handling more symmetric.