Bookmark searches

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Ghopper
Posts: 43
Joined: Fri Feb 05, 2016 6:44 pm

Bookmark searches

Post by Ghopper »

Hello,

Is it possible to create a bookmark to search two folders at once?

Or maybe even more than two?

I tried the following. It encompassed most, but not all, of the total number of files in two folders, so this approach doesn't work well enough to use:

"C:\- A\FOLDER 1" | "C:\- A\FOLDER 2\"

Any suggestions would be greatly appreciated.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Bookmark searches

Post by NotNull »

So..
searching for
"C:\- A\FOLDER 1\"
gives you x results (check Everything's statusbar)
searching for
"C:\- A\FOLDER 2\"
gives you y results
searching for
"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"
does NOT give you x+y results?

Your syntax is correct.
(maybe add a \ after folder1 to prevent "C:\- A\FOLDER 12" from being listed):

Code: Select all

"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"

As it is not giving the expected results currently, check Menu => Search. Only Everything should be enabled
If still not giving te expecetd results:
- Try to find one of the missing files, lets say "abc 123.txt"
- Now search for
"abc 123.txt"

- Is it listed in one of both mentioned folders?
Ghopper
Posts: 43
Joined: Fri Feb 05, 2016 6:44 pm

Re: Bookmark searches

Post by Ghopper »

Thank you. Yes, that's exactly what I meant. I wish I would have screen recorded it, because now, for no reason I can understand, the same bookmark:
"C:\- A\FOLDER 1" | "C:\- A\FOLDER 2\"
and also
"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"
properly show the total combined number of files that are in both
"C:\- A\FOLDER 1\"
and
"C:\- A\FOLDER 2\"

HOWEVER, the search results across all three bookmarks don't add up. For example, when I search for:
"abcdefg"
in Folder 1, I get 39 files
in Folder 2, I get 4 files
but in "C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\" I get 941 files, none of which appear to have the word "abcdefg" in their filename.

In all 3 instances, "Everything" is checked under the menu heading "Search" and all the other parameters are the same.

I get the same type of results with any other word, e.g. searching for "12345"
in Folder 1, I get 1 files
In Folder 2, I get 8 files
in "C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\" I get 945 files, none of which appear to have the word "12345" in their filename.
and in
in C:\- A\FOLDER 1\ | C:\- A\FOLDER 2\ I get 964 files, none of which appear to have the word "12345" in their filename.

Another strange result: if there are no hits for a search in either Folder 1 or Folder 2, running the exact same search in "C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\" will always show 937 hits:

in Folder 1, I get 0 hits
In Folder 2, I get 0 hits
in "C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"
In other words, I get 937 hits every single time there are 0 hits in Folders 1 and 2.

The same is true if a search get any number of hits in Folder 1, but 0 hits in Folder 2.

However, if a search obtains
0 hits in Folder 1
10 hits in Folder 2
then it gets 947 hits in
"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"

A couple of other seemingly incongruous results:

"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\" gets a total of 2121 files
C:\- A\FOLDER 1\ | C:\- A\FOLDER 2\ gets a total of 2140 files
C:\- A\FOLDER 1 | C:\- A\FOLDER 2\ gets a total of 1230 files
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Bookmark searches

Post by NotNull »

A space character will be seen in Everything as AND, like abc 123 => abc AND 123.
To prevent that, enclose folder- and filenames that contain spaces with double quotes: "abc 123"

What results do you get with the following search query?

Code: Select all

"C:\- A\FOLDER 1" | "C:\- A\FOLDER 2\"   "abcdefg"
Ghopper
Posts: 43
Joined: Fri Feb 05, 2016 6:44 pm

Re: Bookmark searches

Post by Ghopper »

Thank you.

When I search:
"C:\- A\FOLDER 1" | "C:\- A\FOLDER 2\" "abcdefg"

I get 935 objects, but glancing through them (didn't examine every single one) it appears that none (or at least approaching none) have "abcdefg" in their filename, so I don't know why they were retrieved. I get the same result using abcdefg with and without quotes around it.

But when I reverse the folders:
"C:\- A\FOLDER 2" | "C:\- A\FOLDER 1\" "abcdefg"

I get 1168 objects, none of which (or at least approaching none) have "abcdefg" in their filename.

Conducting the same search in each folder separately, Folder 1 gets 13 objects and Folder 2 gets 3 objects. Each of which have abcdefg in the filename.
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Bookmark searches

Post by tuska »

Hi,
could the <> Grouping operator play a role here?

Example:
<"C:\- A\FOLDER 1\" | "C:\- A\FOLDER 2\"> "abcdefg"
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Bookmark searches

Post by dedupeit »

I do these types of searches regularly and they work as expected. So I'm guessing there's some option that's been enabled/disabled for you to not make this work. In the Search menu bar, besides the "Everything" filter are there any other options selected/enabled?
Post Reply