Extremely inconsistent search behavior in a specific folder?
Extremely inconsistent search behavior in a specific folder?
I have a directory under the following path:
C:\Users\Username\OneDrive - acme.com\ACME-AB
I get completely inconsistent search results on at least some of this path's subfolders. For example, in a subfolder called "Foo baz" (which is also not found when searched for) there are about 50 PDFs labeled like this, only with different numbers:
12345 - Foo bar baz.pdf
If I search for "12345 - Foo bar baz" or "12345 - Foo bar baz.pdf", the corresponding, exact file is found. However, when I search for the substring "Foo bar baz" or "Foo bar baz.pdf" that should match all files in that folder, no file is found at all.
What could be the reason for this?
C:\Users\Username\OneDrive - acme.com\ACME-AB
I get completely inconsistent search results on at least some of this path's subfolders. For example, in a subfolder called "Foo baz" (which is also not found when searched for) there are about 50 PDFs labeled like this, only with different numbers:
12345 - Foo bar baz.pdf
If I search for "12345 - Foo bar baz" or "12345 - Foo bar baz.pdf", the corresponding, exact file is found. However, when I search for the substring "Foo bar baz" or "Foo bar baz.pdf" that should match all files in that folder, no file is found at all.
What could be the reason for this?
Re: Extremely inconsistent search behavior in a specific folder?
Have you changed Tools -> Options -> Advanced -> match_whole_words_when_using_quotes?
Are there any search options enabled under the Search menu?
What is your active filter?
Are there any search options enabled under the Search menu?
What is your active filter?
Re: Extremely inconsistent search behavior in a specific folder?
> Have you changed Tools -> Options -> Advanced -> match_whole_words_when_using_quotes?
> Are there any search options enabled under the Search menu?
> What is your active filter?
All "no" or "none".
I am also seeing other strange phenomena at the moment. For example, all files under
are also found as duplicates under:
In addition, a large number of files is found that do not exist in the specified path. These files are displayed in gray in the search results list, which I have also never seen before. Actually, neither drive P: (which might have existed in the past) nor the path "foobarbaz.V" exists:
Maybe the index is broken? In any case, I shall rebuild the index now and see if the issue persists. The index is based on folders, as I do not have administrator access here:
> Are there any search options enabled under the Search menu?
> What is your active filter?
All "no" or "none".
I am also seeing other strange phenomena at the moment. For example, all files under
C:\Users\username\OneDrive\ACME\Foobar\..
are also found as duplicates under:
C:\Users\USERNA~1\OneDrive\ACME\Foobar\..
In addition, a large number of files is found that do not exist in the specified path. These files are displayed in gray in the search results list, which I have also never seen before. Actually, neither drive P: (which might have existed in the past) nor the path "foobarbaz.V" exists:
P:\foobarbaz.V\00842Foo.pdf
Maybe the index is broken? In any case, I shall rebuild the index now and see if the issue persists. The index is based on folders, as I do not have administrator access here:
Re: Extremely inconsistent search behavior in a specific folder?
Might tend to indicate that the it is an "offline volume".files are displayed in gray
There is option to automatically remove "offline volumes".
Tools | Options | Indexes -> [FAT/NTFS/ReFS] -> Automatically remove offline volumes
viewtopic.php?p=62543#p62543
See if you don't in fact have 2 separate directories there?C:\Users\username\OneDrive\ACME\Foobar\
C:\Users\USERNA~1\OneDrive\ACME\Foobar\
The latter seems to be in a "Short File Name" format?
Re: Extremely inconsistent search behavior in a specific folder?
Could you please send some debug output:
- In Everything 1.5, clear any active search.
- From the Tools menu, under the Debug submenu, click Start Debug Logging....
- Search for the following, one after the other:
"12345 - Foo bar baz"
"12345 - Foo bar baz.pdf"
"Foo bar baz"
"Foo bar baz.pdf" - From the Tools menu, under the Debug submenu, click Stop Debug Logging....
- This will open your Everything Debug Log.txt file in Notepad.
- Could you please send this file to support@voidtools.com
Re: Extremely inconsistent search behavior in a specific folder?
Okay will do, after my index is rebuilt, should the issue persist then.
Re: Extremely inconsistent search behavior in a specific folder?
Okay, after rebuilding the index, the problem from the 1st post above seems to have disappeared.
Also, the issue with the grayed out files under the non-existent path "P:\foobarbaz.V\..." seems to be gone.
However, I still get duplicate search results. Each file is displayed twice in the results window under the following two paths:
What could be the reason why I suddenly get all paths displayed with a shortened duplicate path?
Also, the issue with the grayed out files under the non-existent path "P:\foobarbaz.V\..." seems to be gone.
However, I still get duplicate search results. Each file is displayed twice in the results window under the following two paths:
If I right-click on a (latter) search result that is displayed with a shortened path and select "Open Path", the correct (former) long path is opened.
What could be the reason why I suddenly get all paths displayed with a shortened duplicate path?
Re: Extremely inconsistent search behavior in a specific folder?
Where is says "OneDrive" that is actually something related to (MS) "onedrive.live.com" (online web storage, virtual or whatever, or some such) [& rather then simply a directory named, "OneDrive"]?
If so, maybe that is playing into it?
Might "username" in fact be a Long File Name & MS's "onedrive" limits things to 8.3?
(This is dated, so I hope it is still not accurate .)
File name limited to 29 charcters in Onedrive
If so, maybe that is playing into it?
Might "username" in fact be a Long File Name & MS's "onedrive" limits things to 8.3?
(This is dated, so I hope it is still not accurate .)
File name limited to 29 charcters in Onedrive
Re: Extremely inconsistent search behavior in a specific folder?
No, it's no longer accurate.therube wrote: ↑Tue Nov 28, 2023 4:05 pm Where is says "OneDrive" that is actually something related to (MS) "onedrive.live.com" (online web storage, virtual or whatever, or some such) [& rather then simply a directory named, "OneDrive"]?
If so, maybe that is playing into it?
Might "username" in fact be a Long File Name & MS's "onedrive" limits things to 8.3?
(This is dated, so I hope it is still not accurate .)
File name limited to 29 charcters in Onedrive
I have no problem to create very long names in One Drive
Re: Extremely inconsistent search behavior in a specific folder?
I also have no problem with long file names in OneDrive.
I've also checked that the shortened path duplicates that Everything displays are also displayed for fairly short paths.
I haven't knowingly changed anything in my setup, my OneDrive for Business path and contents has been like this for years.
I've also checked that the shortened path duplicates that Everything displays are also displayed for fairly short paths.
I haven't knowingly changed anything in my setup, my OneDrive for Business path and contents has been like this for years.
Re: Extremely inconsistent search behavior in a specific folder?
What is shown for attributes and the reparse target in Everything with the following search:
exact:C:\Users\USERNA~1 addcol:attributes;reparse-target
USERNA~1 is typically a shortname.
Everything doesn't index shortnames.
Maybe this is some odd folder junction?
exact:C:\Users\USERNA~1 addcol:attributes;reparse-target
USERNA~1 is typically a shortname.
Everything doesn't index shortnames.
Maybe this is some odd folder junction?
Re: Extremely inconsistent search behavior in a specific folder?
This search shows the following in the "Name" column:
USERNA~1
I don't reember having set up any folder junctions recently.
Re: Extremely inconsistent search behavior in a specific folder?
Was anything shown under the attributes and reparse target column for USERNA~1?
Re: Extremely inconsistent search behavior in a specific folder?
Please try adding C:\Users\USERNA~1 to your exclude list:
- In Everything, from the Tools menu, click Options.
- Click the Exclude tab on the left.
- Click Add filter....
- Set the filter to:
C:\Users\USERNA~1 - Click OK.
- Click OK.
Re: Extremely inconsistent search behavior in a specific folder?
Ah sorry, those columns were out of sight because the list was too wide.
The "Attributes" column shows letter "D" and the "Reparse Target" column shows nothing.
OK I've done that and the
C:\Users\USERNA~1
C:\Users\username\ONEDRI~1.COM\..
which actually should read:
C:\Users\username\OneDrive - ACME.com\..
What is happening?
Re: Extremely inconsistent search behavior in a specific folder?
Okay for now I shall try and add the following folder filter:
I will continue to report on the issue, if applicable.
Thanks @all
David
*~1*
I will continue to report on the issue, if applicable.
Thanks @all
David
Re: Extremely inconsistent search behavior in a specific folder?
If the issue persists, are the ~1 folders removed if you perform a rescan from Index -> Rescan -> C:\ ?
Re: Extremely inconsistent search behavior in a specific folder?
Thank you. Will test and report back.
Re: Extremely inconsistent search behavior in a specific folder?
I just removed that folder filter for a test, and now the duplicate files under the path are all back.
It looks like every single file in the directory of the user USERNAME is listed as duplicate under this path:
*~1*
C:\Users\USERNA~1\
It looks like every single file in the directory of the user USERNAME is listed as duplicate under this path:
Re: Extremely inconsistent search behavior in a specific folder?
Oops, so I tested and removed that filter one more time, then immediately performed a rescan and now the duplicates seem to be gone. Isn't that strange, after such a long time when the issue first appeared?
Edit: Two hours later and the duplicates under the path
C:\Users\USERNA~1\
Re: Extremely inconsistent search behavior in a specific folder?
Please also add the following file exclude filter:
*~1\**
This will exclude files with a short path. (and files in subfolders)
For example:
*~1\**
This will exclude files with a short path. (and files in subfolders)
For example:
*.lnk;*.tmp;~*.*;*~1*;*~1\**
Re: Extremely inconsistent search behavior in a specific folder?
Thank you. I added as a folder filter now -- so I remember years from now why I added it in the first place
USERNA~1