Exclude Folder/Filter doesn't work for 1 network folder

Discussion related to "Everything" 1.5 Alpha.
Post Reply
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Exclude Folder/Filter doesn't work for 1 network folder

Post by TheBestPessimist »

Please see in the file attached.

I have a network share of a Mac: `Y: (pokambrian)`
I added the exclude filter: `**Library\CloudStorage**`, but it doesn't seem to work for that network share, because all the files under
```
Y:\Library\CloudStorage\GoogleDrive-...\.shortcut-targets-by-id\...\SRL
```
are being indexed.

Am i doing something wrong, or is this an Everything bug?

I also tried the filters
```
- *Library\CloudStorage*
- Library\CloudStorage
- Library/CloudStorage
```

but none of them seem to work
Attachments
ss.png
ss.png (60.99 KiB) Viewed 1505 times
void
Developer
Posts: 16671
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by void »

Thank you for the issue report TheBestPessimist,

I haven't been able to produce the issue my end.
I wonder if there's a non-printable unicode character in the path or filter?

After indexing completes, does Everything find files/folder if you search (from the main search box) for:
**Library\CloudStorage**

-If so, does the following search find files/folders:
diacritics:**Library\CloudStorage**

Exclude filters will ignore case and match diacritics.



Could you please send me your troubleshooting information:
From the Help menu, click Troubleshooting information.
--This will show a window with troubleshooting information.
Could you please copy this text and send it to support@voidtools.com



Instead of excluding: **Library\CloudStorage**
Please try excluding: Y:\Library\CloudStorage
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by TheBestPessimist »

> I wonder if there's a non-printable unicode character in the path or filter?

I assume there was none in the filter, because i typed that myself in SublimeText first, then copy pasta into E.
I am not 100% sure about the path, but i didn't see any after browsing in windows explorer, then copy pasta the path into Sublime Text.

> Instead of excluding: **Library\CloudStorage**
> Please try excluding: Y:\Library\CloudStorage

I tried to exclude both`Y:\Library` and `Y:\Library\CloudStorage` and both filters worked as expected: it didn't find anything. Now the question is why doesn't `Library\CloudStorage` work? I guess i have to try more stuff and come back to you if i find something possibly useful.


Troubleshooting (adding it here, because i dont see something which i consider personal):
```
Name: Everything
Version: 1.5.0.1339a (x64)
OS: Windows NT 10.0 22621 (x64)
IsAdmin: 0
Service: 1 (connected / installed and running)
Command line: -startup
Binary: D:\all\all\Everything\Everything64.exe
Profile: D:\all\all\Everything\Everything-1.5a.ini
Database: D:\all\all\Everything\Everything-1.5a.db
Config: alpha_instance=0
Config: match_path=1
Config: ignore_punctuation=1
Config: ignore_whitespace=1
Config: check_for_updates_on_startup=1
Config: auto_remove_offline_ntfs_volumes=1
Config: auto_include_fixed_refs_volumes=1
Config: auto_remove_offline_refs_volumes=1
Config: open_many_files_warning_threshold=16
Config: home_match_path=1
Config: home_ignore_punctuation=1
Config: home_ignore_whitespace=1
Config: search_edit_move_caret_to_selection_end=0
Config: search_edit_drag_accept_files=0
Config: focus_search_on_activate=1
Config: scale=1.250000
Config: paste_new_line_op=0
Config: convert_forward_slash_to_backslash=1
Config: match_whole_filename_when_using_wildcards=0
Config: show_number_of_results_with_selection=1
Config: size_format=0
Config: exclude_files=thumbs.db;desktop.ini;*.tmp;*.temp;*.class;*.rpy;*.rpyc;*.cache;*.log
Config: fast_extension_sort=1
Config: db_update_thread_priority=-15
Config: index_recent_changes=1
Config: refs_file_id_extd_directory_info_buffer_size=0
Config: monitor_thread_mode_background=1
Config: filter=EVERYTHING
Config: plugins=0
...
Config: exclude_folders="$recycle.bin","*.temp","*.tmp",".duplicacy",".git","BrowserCache","C:\\Windows","cache","G:\\My Drive\\backups\\duplicacy","temp","tmp","Y:\\Library"
```

----

One more note: after i add the network share to database (i am clicking the button `Include in database`), while E is indexing i cannot search anything else. There is no file list, as if the whole database is empty. Is this something expected? (i thought that E v1.5 allows me to search while the indexing is happening, but this doesnt work for me).

Attached my debug logging:
Last edited by void on Wed Mar 15, 2023 7:20 am, edited 3 times in total.
Reason: removed logs.
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by TheBestPessimist »

Another log: filter seems to work this time: `**Library\CloudStorage**`

Note: using Service to index and not "Indexing as admin" via separate E instance.
Last edited by void on Wed Mar 15, 2023 7:19 am, edited 1 time in total.
Reason: removed logs.
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by TheBestPessimist »

Regarding

> while E is indexing i cannot search anything else.

from above.

It seems that if i rescan, searching works and files are not hidden.
So it seems that the files are hidden only when adding a new thing to index, not when reindexing an existing thing.
It also happens if i edit an exclude filter, then press Apply, when it starts to (re?)index all the things.

This indexing is a bit weird for me: there are 2 kinds of indexing:
- one which shows the green progress bar -> during this one i cannot search
- one which does not show green progress bar, just "rescanning" message -> during this one i can search
void
Developer
Posts: 16671
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by void »

I think I know what has happened..

There was a bug in the recent versions (1338 and earlier) where ** didn't work.

Your Library\CloudStorage was being included from older builds.

There is currently a bug where the Library\CloudStorage folder and subfolders are being rescanned when using "fast rescan" option.
I'll have this fixed in the next alpha update.



Everything should only index once.
During this time you will be unable to search.

After the initial scan, Everything will perform routine rescans.
You can search while Everything is rescanning.

Changing the exclude filters will require a rebuild.
You'll be unable to search during this rebuild.

If you are changing your exclude filters often, please consider using Omit Results instead.
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Re: Exclude Folder/Filter doesn't work for 1 network folder

Post by TheBestPessimist »

> There is currently a bug where the Library\CloudStorage folder and subfolders are being rescanned when using "fast rescan" option.

I do not use `fast rescan`.


> Everything should only index once.
> During this time you will be unable to search.
>
> After the initial scan, Everything will perform routine rescans.
> You can search while Everything is rescanning.
>
> Changing the exclude filters will require a rebuild.
> You'll be unable to search during this rebuild.

Maybe this is a little too much, but as you explained, there are 3 kinds of indexing "initial scan", "routine rescans", "rebuild". These different indexing processes have different intricacies, so I hope you can document this somehow. Maybe here? viewtopic.php?f=12&t=9790


> If you are changing your exclude filters often

I am not, i was just checking what was indexed and taking things out. I guess you may call this a one time thing, where i keep adding more and more filters to take out what i won't need.
Post Reply