Everything + search for text sometimes finds nothing

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Everything + search for text sometimes finds nothing

Post by *MVV »

I don't know how to reproduce it with 100% chance, but it is really bad. I have a folder with 1021 file, 5 files contain searched text, TC+Everything w/o searching for text shows all 1021 file but when I search for text, TC finds no files.

I've copied that folder to another location, searching works fine. I've made a copy of that folder near original one, search finds nothing even w/o searching for text...

Unfothunately TC+Everything search is quite unpredictable.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are there any file system links (junctions, reparse points)? Everything does not follow these.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

I tried to do a search for file content, taking into account the following points:

TC field "Search for:" ed:
Search in TC with Everything from current directory - adjustable directory depth! - even if field "Search in:" is empty!

TC field "Search for:" ev:
If ev: is entered in the field "Search for:" then in TC the path and the drives in the field "Search in:" are ignored!
That means, the search is done in all drives with Everything (via TC search mask).
Files and folders will be found, e.g. on drive C:, D:, I:, etc.

Starting position for a test on my PC:
I have an url-file named "https--www.eff.org-https-everywhere.url" and a textfile with content "everywhere" in one folder (Total: 2 files).

If you want to search for file contents with Everything, then the parameter content: must also be used in the search query.
Example: Search for text "everywhere" ...
Field "Search for:" ed:content:everywhere OR ed: content:everywhere
Field "Search for:" ev:content:everywhere --> !Attention: The search can take a very long time because text-content is not indexed!
Search result: The textfile with content "everywhere" is found.

If you search as follows in TC with the involvement of Everything
Field "Search for:" ed:
Field "Find text:" everywhere
Search results: [2 files and 0 directories found] -> url-file and textfile is found.

The Everything-checkbox in TC must always be checked if you want to use Everything parameters (in TC search mask).

You can also perform the search for file content directly in Everything by using this button (note tooltip!):

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\Everything\Everything-portabel\Everything.exe -parentpath
%V
%COMMANDER_PATH%\Tools\Everything\Everything-portabel\Everything.exe
OPEN current path (including subdirectories) of TC in Everything (-parentpath)|ONLY current directory OR root [*.*]-F2 || -> ADD parent: before the path |ADD content:word-search after the path |http://www.voidtools.com/support/everything/command_line_options/
%COMMANDER_PATH%\Tools\Everything\Everything-portabel\

-1
Links:
Ctrl+F=Search for: Content Searching, content: http://www.voidtools.com/support/everything/searching/
Modifiers vs Functions https://www.voidtools.com/forum/viewtopic.php?f=5&t=6619
Content searcher - txt doc pdf https://www.voidtools.com/forum/viewtopic.php?p=19430#p19430

Maybe that will help you a bit.

Regards
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If you use
ed:content:everywhere OR ev:content:everywhere
then Everything does the text search with its own rules.

If you use
"Search for:" ed:
"Find text:" everywhere
then Everything will just return all names to Total Commander, and TC will search for the text "everywhere" in all those returned files.

This can lead to different results because you can choose how to search in TC for text, e.g. as ANSI, Unicode, or even using content plugins.
Author of Total Commander
https://www.ghisler.com
Post Reply