fuzzy search

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

fuzzy search

Post by calude »

Hi
I cant understand why I cant find the exact previously matching file names anymore if using fuzzy search

was guessing it should find

stevie (the exact match)
and
steevie
stevi
stavie
...
while using and increasing the fuzziness

Thanks

Calude

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: fuzzy search

Post by admin »

Works here. How high is your fuzziness?

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: fuzzy search

Post by admin »

admin wrote:Works here. How high is your fuzziness?
Sorry, there is indeed some bug! ...

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: fuzzy search

Post by admin »

admin wrote:
admin wrote:Works here. How high is your fuzziness?
Sorry, there is indeed some bug! ...
Okay, there might be a problem with Lazy Boolean Match in connection with fuzzy matching, but that does not touch your issue which I cannot reproduce. Note that fuzzy matching works on the whole filename! So you should enter "stevie.txt" to find "stevi.txt" OR raise the fuzziness level.

calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

Re: fuzzy search

Post by calude »

oh
ok
my exact searches

search steevie on 2 folders
fuzzy off
gives
Steevie_wonder-ijustcalledtosay.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-isntshelovely.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-master_blaster.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-signedsealedanddelivered.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-superstition.pdf E:\MUSIC PDF_piti_partiel\tunes\

then with fuzzy 5% it doesnt find anything anymore

Calude

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: fuzzy search

Post by admin »

calude wrote:oh
ok
my exact searches

search steevie on 2 folders
fuzzy off
gives
Steevie_wonder-ijustcalledtosay.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-isntshelovely.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-master_blaster.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-signedsealedanddelivered.pdf E:\MUSIC PDF_piti_partiel\tunes\
Steevie_wonder-superstition.pdf E:\MUSIC PDF_piti_partiel\tunes\

then with fuzzy 5% it doesnt find anything anymore

Calude
Please look up help file. It's explained... :)

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: fuzzy search

Post by LittleBiG »

I also think the fuzzy search function is broken even now. Don, you suggested to read the help file, but the reality contradits to it.
Help file:
0% fuzziness = 100% minimum similarity (= non-fuzzy)
25% fuzziness = 75% minimum similarity
100% fuzziness = 0% minimum similarity (all items match)
...
"mahatma ghandi", "mahatma gandhi" = 93% similarity
In my understanding, if I have a file named "mahatma ghandi", and my search pattern is "mahatma gandhi", the fuzziness should be set at least 10% (90% minimum similarity). In reality, you should change the fuzzy at lest 50% to find the mentioned file!

And as calude wrote, the exact matches should be shown at 5% fuziness, because it means minimum 95% similarity, and the 100% similarity is indeed bigger than 95%.

admin
Site Admin
Posts: 66362
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: fuzzy search

Post by admin »

That's because of the space in it which is interpreted as an AND in so-called "Loose Boolean Match". Quote the pattern to avoid this:

Code: Select all

"mahatma ghandi.txt"

Post Reply