Page 1 of 1

s08e05 - Fuzzy Search SUPPORT / QUESTIONS / CHAT

Posted: Sat Dec 16, 2023 11:13 am
by heatherbell
Addon:
This Addon powers up your sites search facility by allowing the possibility of mis-spellings.

Download:
viewtopic.php?f=28&t=664

--

Installed on 1.0.8.21 but does not seem to work i.e. search greem, but no results.

Re: s08e05 - Fuzzy Search

Posted: Sat Dec 16, 2023 12:36 pm
by burt
Greem: KRM
Green: KRN

Fuzzy Factor: 4
No match. It looks for 4 characters matching.

Fuzzy Factor 2:
Might match, try it. Report back.

--

Shiny Red Apples: XNRTPLS
Shiny Rd Apples: XNRTPLS

Fuzzy Factor: 4
Match. It looks for 4 characters matching.

Fuzzy Factor 2:
Match. It looks for 2 characters matching.

Fuzzy Factor 10:
No match. There aren't 10 characters in the "searching for" string, so it can't compare x to y.

At least that's how I remember it working when I coded it.

Re: s08e05 - Fuzzy Search

Posted: Sat Dec 16, 2023 12:56 pm
by heatherbell
Works as expected as per your post. Sorry, I had not tweaked the default settings.

Re: s08e05 - Fuzzy Search

Posted: Sat Dec 16, 2023 1:21 pm
by burt
This particular addon is quite a "blunt instrument".

If shopowner set the Fuzzy Factor too low (say 2), it would end up matchig too many things to make the results useable.

Inversely, set the Factor too high (say 10), not enough things, again unuseable results.

Over Xmas(ish) (for a few days I'll be running a "merry xmas" thread where anyone following will end up with a quite useable addon) that end addon might possibley make it slightly easier for shopowner to decide a "good" Fuzzy Factor.