June Builds - Map Upgrades, Retro Rendering, Crime Features, and More!

Discuss Daggerfall Workshop news articles.
User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: June Builds - Map Upgrades, Retro Rendering, Crime Features, and More!

Post by pango »

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".
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.
I'm working on a fix that should make prefixes and suffixes handling more symmetric.
Last edited by pango on Sun Jul 14, 2019 8:26 pm, edited 1 time in total.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: June Builds - Map Upgrades, Retro Rendering, Crime Features, and More!

Post by mikeprichard »

Thanks for your work on this, pango - this is a hugely appreciated feature!

Post Reply