s08e05 - Fuzzy Search SUPPORT / QUESTIONS / CHAT

Open to all! Ask other shopowners for help.
Post Reply
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

s08e05 - Fuzzy Search SUPPORT / QUESTIONS / CHAT

Post 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.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: s08e05 - Fuzzy Search

Post 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.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: s08e05 - Fuzzy Search

Post by heatherbell »

Works as expected as per your post. Sorry, I had not tweaked the default settings.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: s08e05 - Fuzzy Search

Post 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply