Fuzzy search

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Fuzzy search

Post by spinner »

I have got fuzzy search set in Configuration to 25%.

When I search for "killer" (without the quoatation marks) I can not locate a folder or the file inside called DoubleKiller in C:\Program Files.

If I remove fuzzy searching then I can find it.

Why is this?

All other boxes (including Full Words) are set to OFF with the exception of Include Subfolders.

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

Re: Fuzzy search

Post by admin »

25% fuzziness = 75% minimum similarity.
"killer" is less than 75% similar to DoubleKiller.

spinner
Posts: 85
Joined: 01 Oct 2004 13:25

Re: Fuzzy search

Post by spinner »

admin wrote:25% fuzziness = 75% minimum similarity.
"killer" is less than 75% similar to DoubleKiller.
Oh Jeeze - I have been using the fuzzy setting in a quite different way. :-(

I thought that TV3 would always find a substring and that if I put fuzzy on then the substring would not have to be a 100% exact match.

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

Re: Fuzzy search

Post by admin »

Well, RTFM! :lol:

Especially note that fuzzy cannot not be combined with wildcards! It's either/or. When the search term contains wildcards fuzzy search is turned off. In code:

Code: Select all

        If hasWildcards Then
          fFuzzy = False
          fWholeWords = False
        End If

Post Reply