Page 1 of 1

Search return with full name: Unsuccessful

Posted: 17 Dec 2008 10:08
by admsupport
Can you reproduce and get back to me? Creation of a small text file .txt in this case titled "Hosts File and Firewall Rules" in a sub-folder in My Documents. Launch a search with the file's full name [in the red rectangle] and "Find Now" = No return (see empty window, screen below)

Image

However the file is there when I browse the folder manually (see print screen below)

Image

Now when searching:
"Hosts"
"Hosts File"
"Hosts File and"

I have a positive return (as it should), however nothing appears when I enter the file's full name.

Re: Search return with full name: Unsuccessful

Posted: 17 Dec 2008 10:42
by admin
Indeed an interesting bug! It has to do with "Loose Boolean Match" (missing from Help file index, so I reproduce it here):

Code: Select all

v5.50.0007 - 2007-01-05 11:18
    + Find Files: added "Loose Boolean Match" (LBM) as default behavior 
      for search patterns consisting of two or more strings separated by 
      blanks and not containing any wildcards.
      For example, "work 2006" (without the quotes) will find all items 
      that have "work" and "2006" somewhere in their name (regardless of 
      the order). In other words, "work 2006" is internally-smartly-
      automatically-conveniently transmutated into the Boolean 
      expression "*work* AND *2006*" (in XY syntax = ":work & 2006").
      Tips:
      - To avoid LBM and find all items containing "work 2006" somewhere 
        in their name enclose it in asterisks: "*work 2006*".
      - To avoid LBM and find all items matching "work 2006" exactly put 
        it in quotes (a leading quote is enough).
      - Note that LBM can be inverted by "!", and it does work from the 
        Address Bar as well, for example:
        Desktop?a b c     Find all items that contain the characters
                          a, b, and c in their name.
        Desktop?!a b c    Find all items that do not contain all the 
                          characters a, b, and c in their name (but
                          only some or none of them).
The problem in your case is the word "and" in "Hosts File and Firewall Rules" which confuses my parser. Until I post a fix, the simple workaround is to add a wildcard: Hosts File and Firewall Rules*. The presence of a wildcard anywhere will prevent the interpretation as "Loose Boolean Match".

Re: Search return with full name: Unsuccessful

Posted: 17 Dec 2008 14:57
by admsupport
General question about "Bug fix":
Where is the info about a bug fix (in this thread?) and how do we implement it in XY (patch, update?)

About file name:
all the files names with a "and" (=+*) okay :!:
what about those with a "&" and "+" characters in the name? Do they conflict with the LMB behavior too?

Re: Search return with full name: Unsuccessful

Posted: 17 Dec 2008 15:07
by admin
admsupport wrote:General question about "Bug fix":
Where is the info about a bug fix (in this thread?) and how do we implement it in XY (patch, update?)

About file name:
all the files names with a "and" (=+*) okay :!:
what about those with a "&" and "+" characters in the name? Do they conflict with the LMB behavior too?
The bug fix comes with the upload of the next BETA-version. You can get it here in the forum "BETA versions" (first forum from top).

All characters will be okay in the fixed version.

Re: Search return with full name: Unsuccessful

Posted: 18 Dec 2008 04:08
by admsupport
Thanks for the info

Re: Search return with full name: Unsuccessful

Posted: 18 Dec 2008 08:27
by admin
admsupport wrote:Thanks for the info
Did you try the latest BETA? It should work now. Bug fixed.