Problem with Match path when search contains path separator

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Problem with Match path when search contains path separator

Post by vsub »

There is some weird problem which I can figure out(not sure how to even explain it)
1.Create a folder named for example "Naw Folder" with empty space and "a" to be easier to be finded and place some file inside
2.Try searching for that folder by just typing the name

Now if I understand the option correctly,if I type \ after the name,I'm supposed to see what's inside(I may be wrong)
a) Placing \ after the name clear the result list
b) Placing infront only,display the folder only
c) Placing in both places,shows the file inside
d) Placing quotes infront and \ at the end,display the file inside

3.Now add something else to the folder name and add another space between the old name and the added text
Naw Folder New
With this new name only method d) allows you to see the file inside.

If you enable Search=>Match Path,the file inside is always visible
void
Developer
Posts: 16667
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem with Match path when search contains path separa

Post by void »

Please remember a space is an AND operator in Everything.
Please use double quotes (") to escape spaces.

If you search for:

Code: Select all

Naw Folder\
This expands to:
Naw AND Folder\

This is probably why there are no results.

Please try searching for:

Code: Select all

"Naw Folder\"
You can omit the trailing double quote(") as long as there is no more search text after "Naw Folder\
The following will also work:

Code: Select all

"Naw Folder\
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Problem with Match path when search contains path separa

Post by vsub »

Yes but this is better "Naw Folder\" because if I don't add the trailing double quote at the end,I have to type the correct name of the file I'm searing for from the beginning...I can't type some part of the file name if I don't use "Naw Folder\"

I thought that this option act exactly like Search=>Match Path
When I type \,it will act the same but I guess not...I have to use quotes of the folder name contains free space
void
Developer
Posts: 16667
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem with Match path when search contains path separa

Post by void »

Typing in a back slash (\) will only effect that term, not the entire search.

I have updated the Match path when search contains path separator option to reflect this.

Only the Folder\ term is matching full paths.
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Problem with Match path when search contains path separa

Post by vsub »

Ok,now I understand it but what about path:
It seems to be acting the same was as the option...is path: like a shortcut to that function
void
Developer
Posts: 16667
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem with Match path when search contains path separa

Post by void »

path: is similar to including a backslash (\).
It will only effect the term it is used on.

For example:

Code: Select all

Naw path:Folder 
will only use full paths for the folder term.

You can use parentheses to apply the path: modifier to more than one term, for example:

Code: Select all

path:<Naw Folder>
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Problem with Match path when search contains path separa

Post by vsub »

Ok,one last question...can I search for files that are like this
File 30
File 31
File 32
...
File 50
Is there is some method to display only the files from File 39 to File 48 for example
There are some macros and functions in the help menus but I don't understand them(or not adding them correctly)
void
Developer
Posts: 16667
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem with Match path when search contains path separa

Post by void »

To search for File 39 - File 48 (with Regex disabled in the search menu):

Code: Select all

regex:"File ((39)|(4[0-8]))"
Expands to:
"File " AND (39 OR (4 AND 0-8))

Some more examples:
To search for File 35 - File 38:

Code: Select all

regex:"File 3[5-8]"
To search for File 21 - File 57:

Code: Select all

regex:"File ((2[1-9])|([3-4][0-9])|(5[0-7]))"
-or-

with a huge normal search for File 39 - File 48:

Code: Select all

"File 39"|"File 40"|"File 41"|"File 42"|"File 43"|"File 44"|"File 45"|"File 46"|"File 47"|"File 48"
More information on regex:
http://en.wikipedia.org/wiki/Regex
hansi123
Posts: 3
Joined: Thu Oct 29, 2009 11:25 am

Re: Problem with Match path when search contains path separa

Post by hansi123 »

i use version 1.3.1.636b you write that everything take space as AND operation.
i show the setting "allow literal operators" what i have disable but my everthing take space not as space.
how can i set that everything show space only as space?
void
Developer
Posts: 16667
Joined: Fri Oct 16, 2009 11:31 pm

Re: Problem with Match path when search contains path separa

Post by void »

To search for spaces, please escape your search in double quotes.

For example, to search for ABC 123 including the space, search for:

Code: Select all

"ABC 123"
Post Reply