Find files: duplicate paths when connecting Everyhting

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

After connecting to other computers, replacing the drive with the same letter, Everyhting adds similar paths to the existing ones in the database.
As a result, the number of duplicates is growing. Please force TC to check the found data and exclude duplicates before output.
Overquoting is evil! 👎
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Find files: duplicate paths when connecting Everyhting

Post by *nsp »

This is for me more an issue of Everything than an issue of TC. TC do not ask for lookup to Everything.
If you have external drive you unplug, by default everything will continue to gives result of - non existent - drive. Same story and TC do not have anything to do with IT.
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

2nsp
TC generates its list from the received data, so it is responsible for a false output.
If non-existent single paths are displayed, this is one thing, you can still live with it, but when TC returns matching paths even when searching for duplicates, then this is not good at all.
Overquoting is evil! 👎
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Find files: duplicate paths when connecting Everyhting

Post by *Horst.Epp »

Configure your Eveything and ask void for the correct settings to avaoid this.
Its not TCs job to verify because it may lead to long delays for non existant networks shares.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

Horst.Epp wrote: 2022-06-27, 07:39 UTCConfigure your Eveything and ask void for the correct settings to avaoid this.
Are you talking about removing disconnected local volumes from the indexing list? This is not profitable for me, since a portable assembly is used.
Horst.Epp wrote: 2022-06-27, 07:39 UTCIts not TCs job to verify because it may lead to long delays for non existant networks shares.
I'm primarily interested in local files. For network shares, can be come up with an ini key.
Overquoting is evil! 👎
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Find files: duplicate paths when connecting Everyhting

Post by *nsp »

You should find/ask option in Everything to not return non-existent files !
Read Help and learn how to use everything to have "up to date index" for all the drives you want to search. In the help about NTFS and how to remove drive when disconnecting, ...
TC do what you ask for:
  • use Everything as file provider instead of the Disk.
  • If your concern is to have TC searching on Drives, just un-tick Everything.
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

nsp wrote: 2022-06-27, 08:46 UTCYou should find/ask option in Everything to not return non-existent files !
Why am I, and not the author of the program who implemented this functionality? :)
nsp wrote: 2022-06-27, 08:46 UTCRead Help and learn how to use everything to have "up to date index" for all the drives you want to search. In the help about NTFS and how to remove drive when disconnecting, ...
Why should I read help when I have all the options in front of my eyes? About deleting disks, I gave an explanation above.
nsp wrote: 2022-06-27, 08:46 UTCTC do what you ask for:
  • use Everything as file provider instead of the Disk.
  • If your concern is to have TC searching on Drives, just un-tick Everything.
• On the contrary, I'm asking about something that doesn't exist yet.
• That's bad advice.

I would prefer to know the author's opinion.
Overquoting is evil! 👎
User avatar
Dalai
Power Member
Power Member
Posts: 9386
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Find files: duplicate paths when connecting Everyhting

Post by *Dalai »

If TC would verify the result of each filename returned by Everything, it would kind of defeat the purpose of a very fast search, because checking for a file's existence also costs time (which gets worse if anti-virus software is involved).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
tuska
Power Member
Power Member
Posts: 3755
Joined: 2007-05-21, 12:17 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *tuska »

2Fla$her

If you want to get a quick solution to your problem, then I recommend you
- to write an email (support@voidtools.com) to the author of 'Everything'
  AND
- to send him a very detailed description *) of your problem.

*)
e.g.
  1. Everything Version
    1. Everything 1.5 Alpha
      Everything 1.4.1 Beta Nightly Builds
      Everything 1.4
  2. Windows Version
    Windows 11
    Windows 10
    ...
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

2Dalai
By data checking, I didn't mean checking the existence of files in the system at all. It is enough to check for the presence of adjacent duplicate rows and exclude them from the list. This operation should take place much faster.

The output of identical paths should not be in the logic of TC, regardless of which program takes part in it.

2tuska
I'll think about it. But I don't really care about this problem in Everything itself, because it almost does not affect anything in the process of working with the program window, while in TC this influence is quite significant.
Besides, I doubt that the author of Everything will do anything. Rather, he will offer the same optionality that I called. Saving records for other disks in the program is definitely in demand, otherwise these options would not exist.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Find files: duplicate paths when connecting Everyhting

Post by *ghisler(Author) »

I can confirm that "Everything" may return a file twice in search results, e.g. when a folder was added manually via settings and the drive itself was indexed too. Since I'm receiving the results in order "EVERYTHING_IPC_SORT_PATH_ASCENDING", which means that they are sorted by full path and name, it's very easy to detect and remove these duplicates because they are returned together in the list. Therefore I will remove such duplicates from the results.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

it's very easy to detect and remove these duplicates because they are returned together in the list.
Exactly. That's what I mean. Thanks for not put this aside.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Find files: duplicate paths when connecting Everyhting

Post by *ghisler(Author) »

Could you test it with RC4, please?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

Fixed. Everything is fine. Thanks! :)
Overquoting is evil! 👎
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: Find files: duplicate paths when connecting Everyhting

Post by *Fla$her »

I have to return to this topic. The problem of eliminating duplicate paths has been solved, but the search for duplicates is still focused on the list before processing. I.e. if Everithing returned more than one match, then we will still see one element in the output, which is unacceptable.
Checking the quantity should be carried out after culling.
Overquoting is evil! 👎
Post Reply