Duplicate items in result when adding dir and its subdir both into indexed folders

Discussion related to "Everything" 1.5 Alpha.
Post Reply
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Duplicate items in result when adding dir and its subdir both into indexed folders

Post by bit »

D: is mounted network drive,
D:\dls\a is my download location so it changes often,
when adding both D: and D:\dls\a to Indexes->Folders, I set two different rescan time to reduce unnecessary IO as D: not change that fast.
This cause same item under subdir repeatly showing itself in the list.
dupitems.png
dupitems.png (43.5 KiB) Viewed 1304 times
The column before Attribute is "Folder Depth", says the 2 files have 1 and 3 depths according to their base folders in indexes.
Is this designed on purpose?
IMO there should only 1 item and depth follows the uppermost basedir in indexes.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Duplicate items in result when adding dir and its subdir both into indexed folders

Post by void »

Please consider only indexing D:\ to avoid duplicated results.
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Duplicate items in result when adding dir and its subdir both into indexed folders

Post by bit »

void wrote: Sun Apr 09, 2023 5:34 am Please consider only indexing D:\ to avoid duplicated results.
Yes this is the only way to exclude dupes for now.
Suggestion: add an option to let user customize which part under this folder should have a separate rescan policy.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Duplicate items in result when adding dir and its subdir both into indexed folders

Post by void »

I will consider options for each subfolder.
Thank you for the suggestion.

For now, please consider Including each subfolder under D:
I realize this is not ideal if you have a lot of subfolders.



There's a -rescan <path> command line option to rescan a subfolder.

For example, index D: and set the folder to never rescan.
Call
Everything.exe -rescan d:
to rescan the entire d: or call
Everything.exe -rescan D:\dls\a
to rescan everything under only d:\dls\a
Setup a scheduled task as desired.

-rescan


There's also a /rescan <path> search command to rescan a subfolder.
Same as the -rescan command line option, except you can add this as a bookmark and call it from within Everything
For example:
/rescan d:
/rescan d:\dls\a

/rescan
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Duplicate items in result when adding dir and its subdir both into indexed folders

Post by bit »

Thank you for the alternate methods. Good to know /rescan and -rescan work on subdirs :D
Post Reply