How to search locally AND in some filelists?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
luckulucki
Posts: 61
Joined: Mon Jun 19, 2017 1:45 pm

How to search locally AND in some filelists?

Post by luckulucki »

Hi,
I thought this might be simple to solve while reading the massive online help or the help in EV itself. But unfortunately, its not.

I tried:
<filelistfilename:x1;x2;x3>|<*:\>
<filelistfilename:x1;x2;x3>|<*:\*>
<filelistfilename:x1;x2;x3>|<?:\\*>
<filelistfilename:x1;x2;x3*:\>
<filelistfilename:x1;x2;x3|*:\>
and about 20 other combinations...none of them came up with the expected result,

which is:
searching locally on all of my ntfs drives AND in only those filelists x1, x2 and x3

either no locally files are shown, or too much filelists are searched. (i.e. filelists x4 are searched, while I did not include it)

What might be the correct search term in "Edit Filter" ?

Thank you!
filter.png
filter.png (33.8 KiB) Viewed 731 times
void
Developer
Posts: 16413
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to search locally AND in some filelists?

Post by void »

Please try the following search:

filelistfilename:x1;x2;x3 | !filelistfilename:


Match files/folders in a filelist where the filename contains x1 OR x2 OR x3 OR files/folders that are not in a filelist.



filelist-filename:
x1;x2;x3
Search Operators
luckulucki
Posts: 61
Joined: Mon Jun 19, 2017 1:45 pm

Re: How to search locally AND in some filelists?

Post by luckulucki »

Thank you,
by looking at your example, I guess, this will too match everything, I have not explicitly excluded, like all files from remote servers or so. So that will not really improve my search results.

So the thinking for EV here is "exclude everything which might come", instead of "include only what I want" ?

I'm just asking, because looking in the help for things I know I want to catch is easier than searching for everything I don't expect ;-)
void
Developer
Posts: 16413
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to search locally AND in some filelists?

Post by void »

Please consider the following search:

filelistfilename:x1;x2;x3 | index-type:ntfs


index-type:
luckulucki
Posts: 61
Joined: Mon Jun 19, 2017 1:45 pm

Re: How to search locally AND in some filelists?

Post by luckulucki »

Now this is very handy, thank you very much!

I changed the search term to
filelistfilename:x1;x2;x3 | index-type:ntfs;fat
(just to be sure, that when someday an old friend with and old drive visits, I will find what he is looking for)

Anyway, would you please so kind and explain to me, WHY this regex
regex:^[A-Z]{1}\:\\
will not work too?
I thought, I could be clever but this regex is throwing the same wrong results like in my first examples with all the variants of
...<?:\\*>


I'm trying hard to understand the philosophy of EV here and why those filters don't work as expected, but I really don't get why...

There must be something I have not understood yet...
void
Developer
Posts: 16413
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to search locally AND in some filelists?

Post by void »

regex:^[A-Z]{1}\:\\
will match your filelists too.

Are you expecting this regex search to not match filelists?
luckulucki
Posts: 61
Joined: Mon Jun 19, 2017 1:45 pm

Re: How to search locally AND in some filelists?

Post by luckulucki »

void wrote: Tue Aug 06, 2024 12:59 am
regex:^[A-Z]{1}\:\\
will match your filelists too.
yes, thats why I tried something like
<filelistfilename:x1;x2;x3> | <regex:^[A-Z]{1}\:\\>
or even
<filelistfilename:x1;x2;x3> <regex:^[A-Z]{1}\:\\>


void wrote: Tue Aug 06, 2024 12:59 am Are you expecting this regex search to not match filelists?
I start getting why that search term also results in listing other filelists that x1,x2 and x3.
The regex is also working for filelists. I was under the impression, the regex would match only drives like X:\... (which apparently it does, but also inside filelists...which was not what I expected)

Actually, I say: match everything in filelists x1,x2,x3 OR/AND match everything with this regex which would be any driveletter (C:\, D:\ ....)

As filelist x4 has content like
X:\foo\bar.ext
, EV will also list those matches, although I does not have include that filelist in
filelistfilename:


Nice learning ;-D

I now understand, that my thinking/expectations did differ from the code I told EV to execute ;-)

And, with that, unfortunately, I now understand, that there is no "search locally connected drives regardless of their filesystem" option in EV.
Something like
index-type:network;networkdrive
but only for local harddisks (which may not always have a driveletter as a mountpoint).

So I stick with
index-type:ntfs;fat
by now.

Thank you very very much! You were of great help to me ;-)) I was able to untangle the knot in my brain!
Post Reply