Smart Quick search

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
NikolaR
Junior Member
Junior Member
Posts: 6
Joined: 2011-04-26, 17:26 UTC

Smart Quick search

Post by *NikolaR »

Hello,

there are few options for quick search, but I'd appreciate new one.

Currently you can set find to exactly match to beginning and end of file name. If I want to search in middle of file name, I can also do that by disabling both check boxes.

However, problem is that if I have a large folder and have files like:
...
...
XXXXXStringToMatch
...
...
StringToMatch
and I try to look for StringToMatch i'm going to get first one in sorted list. However, it'd be good to first try to match files to beginning of file name, then if it's not found try to match by substring. Even when matching by substring, it may be good to match so that first match file name in which searched substring is at leftmost point of all.

E.g. expected would be following order of attempts
StringToMatch
XXStringToMatch
XXXXStringToMatch
You could go even further than that to make smart search :)
E.g. if all those matches weren't found, you can try to look approximate match, for examble by using Levenshtein distance (http://en.wikipedia.org/wiki/Levenshtein_distance).

In that case you could even try to match in this way:
StringToMatch
XXStringToMatch
XXXXStringToMatch
StrnigToMatch
Best regards,
Nikola
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

What about using

Code: Select all

*StringToMatch
at Quicksearch ?
#5767 Personal license
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Post by *sheppaul »

You could go even further than that to make smart search
E.g. if all those matches weren't found, you can try to look approximate match, for examble by using Levenshtein distance
Try this one:
http://www.ghisler.ch/board/viewtopic.php?t=22592
Only using TCMD x64. :)
Post Reply