[Solved] Searching using ev:

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
NotNull
Senior Member
Senior Member
Posts: 298
Joined: 2019-11-25, 20:43 UTC
Location: NL

[Solved] Searching using ev:

Post by *NotNull »

According to the TC help file:
Put "ev:" in front of the search string to pass it to Everything unchanged. You will then have to use the Everything search syntax,
I have a different experience:
Searching for ev: exe: or ev: pic: (just some examples) returns "[No files found]".
Of course there are execuatbles and pictures on my sytstem. Searching directlyin Everything confirms that.

Things are getting even stranger when using folder: or file: in the search-query.
In that case searching gets very slow as the disk is getting accessed during the search (Everything doesn't have to access the disk to produce results).

My guess that folder: and file: are handled by TC instead of Everything turned out to be incorrect: TC runs in userspace whereas Everything has elevated access to all filenames on the system. Some of the folders returned are not accessible from userland (test this with query ev: c:\users folder:).


Can anyone tell me why I get these strange results?

( Total Commander 9.12 x64 / Everything 1.4.1.947 x64 @ Win10 1909 )
Last edited by NotNull on 2019-11-27, 21:07 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7014
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Searching using ev:

Post by *Horst.Epp »

What you have entered are Everything macros (pic: exe:) which can't be used by the Everything SDK.
You may use for example
ev:ext:exe
ev:*.cmd|*.exe
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.6 x64
NotNull
Senior Member
Senior Member
Posts: 298
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Searching using ev:

Post by *NotNull »

Horst.Epp wrote: 2019-11-26, 16:19 UTC What you have entered are Everything macros filters (pic: exe:) which can't be used by the Everything SDK.
Thanks, Horst.Epp! Makes perfect sense now.

Do you have an explanation for the file: and folder: behaviour too?
User avatar
tuska
Power Member
Power Member
Posts: 4114
Joined: 2007-05-21, 12:17 UTC

Re: Searching using ev:

Post by *tuska »

NotNull wrote: 2019-11-26, 16:43 UTC Do you have an explanation for the file: and folder: behaviour too?
This is how it looks to me:

Code: Select all

TC		ev:c:\users		[67148 files and 34054 directories found]   Total: 101.202 objects
'Everything'	c:\users		101.202 objects

TC		ev:c:\users folder:	[0 files and 34054 directories found]	--> Search results are obtained faster in TC
'Everything'	c:\users folder:	34.054 objects                              because a limitation to "folder" was done

Search results:

Code: Select all

TC		These are processed in the "Find Files" window -> See status bar --> Search results only after some time!
'Everything'	Search results immediately!
HISTORY.TXT wrote:16.10.19 Release Total Commander 9.50 beta 1
22.07.19 Added: Search with 'Everything': Show percent of the search results transferred to Total Commander
                          and added to the result list (Everything reports the total number of found files) (32/64)


Windows 10 Pro (x64) Version 1909 (OS build 18363.476)
TC 9.50ß6 x64/x86 | Everything - Version 1.4.1.956 (x64)
NotNull
Senior Member
Senior Member
Posts: 298
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Searching using ev:

Post by *NotNull »

tuska wrote: 2019-11-26, 18:50 UTC This is how it looks to me:
[...]
Thanks for taking the time to test this, tuska!
I think I have worded my "problem" wrong. Attempt 2: :) :
Why is Total Commander (or maybe Everything?) going to disk when adding file: or folder: to an ev: search query.
This does not happen when searching directly in Everything (Everything gets that information from it's database that is loaded in RAM).


Will test the latest 9.50 beta to see if that makes any difference.


EDIT: SOLVED!
Turns out that Total Commander also fetches Attributes data (read only, hidden, etc).
That information is not indexed in an out-of-the -box running Everything.
To get that extra information, Everything has to access the disk.
After adding Atrributes data to Everything's database, returned results are instant.
User avatar
tuska
Power Member
Power Member
Posts: 4114
Joined: 2007-05-21, 12:17 UTC

Re: Searching using ev:

Post by *tuska »

NotNull wrote: 2019-11-27, 21:01 UTC After adding Atrributes data to Everything's database, returned results are instant.
Fine, that you found out this for yourself :) .

Under "Indexes" I have currently checked everything except:
[ ] Multi-user database filename
[ ] Compress database

This ensures a quick search result for me.
Post Reply