OneDrive indexing for WIndows Search
I am not sure I am at the right place to post this, but since some Microsoft engineer said here would be a more appropriate place for my post in Microsoft Community, here it goes (don't shoot me if this is considered cross posting):
Prior to installing the Fall Creators Update on my Windows 10 machine last week, all my files stored in any of my OneDrive subfolders were indexed and fully searchable through Windows Search. For example, entering ‘content:management‘ in the upper right search box would return all the documents (PDF, Word, etc.) that contained the word ‘management’.
Right after the installation of the Fall Creators Update, none of my files were found when using Windows Search. Either the index was deleted or, to paraphrase Microsoft support people, the option was removed ‘by design’.
However, as I continued to use my machine, I would try to search occasionally to see if perhaps the indexed had been rebuilt. Windows Search would slowly return more and more results as the days went by. I thought the index could not be rebuilt so slowly, one file at a time over the span of several days. At this pace, it would take months to index my 50 GB of files in my OneDrive folder! Today, I discovered as I open files from my OneDrive folders, they are indexed on the fly and thus made searchable by Windows Search.
Is this the new way OneDrive files are supposed to be indexed? Who thought one would only be interested in searching files he or she had previously opened, disregarding the others? While I do understand that the indexing engine cannot index a file not kept on the device (ie. on demand files), is there a way to force the indexing engine to ‘pick up’ all the files that are always kept on the device without the need to open them one by one?
Upvoted; Index everything, make it easy to find, reduce inane/arcane folder structure requirements... think graph databases. Imagine if everything on your hard drive, cloud drives, in code, all text, all images, everything, were searchable without regard for file structure. We wouldn't have to worry (as much, possibly at all) about structured file saving. Let's make this ****** a hive of data.
Lauren Fergot commented
Agree with the "reduces cognitive load" comment. I depend on search and keywords vs folder organization. I have lost 2 hard drives and have finally switched to keeping my files on onedrive... but if I can't search for them then it's useless. Please please please stop making things more disruptive for the neurodiverse!
This is just sad. Indexing reduces cognitive load in doing normal things on your computer. MacOS has spotlight. It doesn't give you web results or any of that. Just your files. What an idea. I would want access to my files. without digging around the convoluted explorer.
To give an idea of how I wanted to start my evening. Index a few commonly used files to launch on windows search bar quick. Then work on my game development. Instead of saving time for my future self I lost an entire evening. It is 3 hours later and all I did was find out the feature was removed.
Just store your files on Dropbox. It works fine
For what is worth, Indexing is working properly when syncing "Shared Libraries" (from SharePoint Online/Teams, etc.).
It is however not working on your personal "OneDrive" within the same organization.
My guess is that, Microsoft is finding a way to enable that one as well, but that priority was given to the files you are less likely to want in your drive (shared folders). After all, you might want to always keep a copy of your files "just in case".
PS: I totally agree with the intent of the OP and gave him my 3 votes. I'm just saying the above "for information".
Let's bring back indexing for Onedrive.
Victory! I found the solution at the end of a post. As you can see if you use MS Troubleshooter for the indexing, it will say that it lack write access to OneDrive's directory. It looks like the problem is OneDrive getting its directory as readonly (apparently this goes along with the "files on demand" feature).
So here is how you can include OneDrive in your index for Windows Search:
1. Disable "Files on demand" in Onedrive settings
2. In the index settings OneDrive should now appear:
2a. Open the Index Settings app
2b. Click on Modify
2c. Look for your OneDrive directory (usually looks like C:\Users\JohnDoe\OneDrive)
2d. Make sure it is ticked and save
3. Wait until the index update is over (rebuild index if necessary)
4. Enjoy having an index that works with OneDrive!
OneDrive online searches well and fast, but requiring users to perform multiple searches (as in needing to search Outlook .pst files separately from Windows Search of local files) to obtain comprehensive results is an impractical, unacceptable and even unsustainable solution. It's also user unfriendly, and it invites mistakes in all environments.
David Slight commented
April 2020, any updates on this?
Anyone in Redmond reading this?
Please enable indexing of OneDrive for Business and personal.
Pull the option back you idiots, back to the stone age, with this geniuses, what the purpose of having one-drive if you can't index your organization, leaving the only option, back 15 years, what a shame!
Denis O commented
To prevent losing data, all of my documents, Visio stencils, pictures, etc., are in OneDrive. The inability to index them breaks many default Windows functions.
Makes no sense, MSFT.
As a writer with many hundreds if not thousands of Word doc files, I find the fact that I can no longer search content on OneDrive with Windows Explorer enraging. I am going to have stop paying for Windows 365/ OneDrive as it is now useless to me.
My work around: When I need to do a search for email - I created a link to the online Outlook interface - finds the email fast - however sucks you cant index Onedrive on the Outlook desktop version and now I have to do 2 separate searches for docs vs. emails
Rolf E commented
I found a solution: the flag "Sparen Sie Platz" or "Save storage" in the Microsoft OneDrive Configuration must not be set, then the folder for onedrive comes up in the search configuration
Rolf E commented
Microsoft is pushing cloud computing and excluding cloud storage with onedrive from search - thats not good
David Slater commented
This is completely stupid. Only files from OneDrive subfolders are save to the cloud, so that's where I put them all. Now I can't find them in File Explorer search.
I have about 475,000 indexable files and the nature of my business is that I frequently want to find files I haven't referenced for years.
What am I supposed to do? Spend the next 10 years opening each one so it's indexed individually?
To take away useful functionality is ALWAYS STUPID.
Put it back.
Until last week I could search local OneDrive files from the Windows Search bar just fine, this suddenly stopped working. Now it makes no sense to continue using OneDrive, as the prime functionality was its integrated experience from Windows, Office and mobile. I just makes no sense to me why Windows will not show me search results of my own LOCAL files (that happen to be in my local OneDrive folder). This is a total dealbreaker.