6 ms·
It's amusing (and infuriating) that file search - IMO, one of the most important features for a desktop O/S - has been utterly broken in Windows since Vista. O
by nmfisher 7y ago
It's amusing (and infuriating) that file search - IMO, one of the most important features for a desktop O/S - has been utterly broken in Windows since Vista.
On Windows 10, half the time it just hangs with "Searching files", displaying zero results. The other half, search simply says "Nothing found", even when I know there is a match. I just tested it with %USERPROFILE%/.docker - open up File Explorer and search for ConfigVersion that appears in config.json. Nada.
I have to resort to cygwin/grep any time I want a search that actually works.
I never had this problem pre-Vista. I don't know how they managed to go backwards on such a fundamental feature.
- 0x8BADF00D 7y agoIt’s relatively easy to implement search - you need only minimize the Levenshtein distance between the search string and the file name string. The difficult part is actually indexing all file names and their string contents on the system. Grep is a different tool, mainly using regular expressions to match strings within files and I don’t think it is feasible to be continually loading the contents of all strings contained in all files into memory to perform fuzzy string matching.
- badsectoracula 7y agoI was always very skeptical about the need for search indexing for local files - how often do you search for stuff to need indexing in the first place? I have a ton of files, certainly more than the average Windows user and i do search for things often enough (at least once a day). To search i use Total Commander (allows for both wildcard/regex searches, archive searches, content search with a bunch of options) which doesn't use indexing at all and search speed was never something i had as a problem (and in general i hate waiting for the computer to do stuff). In what workflows is search needed so often and for so many files that it necessitates indexing? Even back when i first encountered it (in Vista - AFAIK it existed in XP and before but it wasn't enabled by default) i thought it was a waste of resources and unnecessary complexity.
- ptidhomme 7y agoTotally agree. Back then in XP I'd always disable search indexing, prefetch and superfetch in order to reduce that constant disk activity.
- mlang23 7y agoAgreed. updatedb from the locate package is typically the first thing that I uninstall on a new Linux installation. The nightly cronjob definitely consumes a lot more resources over time then it will ever save me waiting time.
- tjoff 7y agoEvery time? Searching everything takes lots of time, searching through an indexed database takes less than a second. When in windows I use a locate-port[1] that I use to index any local disks as well as remote network shares of interest. It would take about an hour to search everything. But an hour wouldn't be that bad, the problem arises when you are not quite sure what you are looking for. Getting the response back instantaneous is invaluable because you can refine your search in seconds. [1] https://locate32.cogit.net/ https://locate32.cogit.net/
- caspper69 7y agoAnd your use case makes sense; but your use case is not typical for 99% of desktop OS users. And instantaneous results mean nothing if they're worthless. I'd rather let you turn on indexing because you need it and it matches your use case. Leave the other 99% alone.
- tjoff 7y agoIndexing benefits the other 99% as well. Windows default was ok but slow in XP and absolutely unusable since. Any benefit to search would be a massive benefit to millions of people. Doesn't have to be indexed but would certainly help. I guess SSDs are quick enough many times but it is absolutely essential if a regular hard drive is in the picture.
- mintplant 7y ago
- numpad0 7y ago> The difficult part is actually indexing all file names okay, ... > and their string contents on the system ... why would you even do that? ls-lR.gz works. And that’s exactly what people wants 80% of time.
- qalmakka 7y agoI personally never use search tools; at least, not with files I've created myself. IMHO organising correctly your files using aptly named directories and sticking to that is much more effective than dumping stuff around the filesystem and then having to rely on search in order to untangle the mess. That's why I tend to disable desktop icons; in this way I always have to force myself into opening a file manager and actually decide where the files should be put into.
- meddlepal 7y agoYea I was thinking about this and I never use OS search either. I suspect the reason it's "broken" is because Microsoft has the data that says most people don't use the feature and therefore it's not worth the improvement cost.
- manderley 7y agoBut they've just recently, with 1903, revamped Explorer as well as taskbar search. In general, I find it very hard to believe this is a people few users rely on. It's the primary way to launch programs for me.
- meddlepal 7y agoDo you have a neat and organized desktop? Most people just have a mess of shortcuts and that's how they launch programs. But also consider that most people use maybe 2 or 3 apps all the time and rarely explore outside of that.
- kranner 7y ago> IMHO organising correctly your files using aptly named directories I have a lot of ebooks on my computer (> 10000). One problem with organising books and other PDFs is that sometimes they fall into multiple categories. (Should a new scientific article on lucid dreaming go into 'brain and cognitive science' or 'meditation' or 'hypnosis' or 'sleep' or 'self improvement'?) I could dump each new file into the directory representing the first category that comes to mind and make symbolic links from directories referring to other categories, but in the end the number of categories is practically endless. Search is in practice the only workable solution.
- kwhitefoot 7y agoUse Everything instead. https://www.voidtools.com/ https://www.voidtools.com/
- stuartq 7y agoThis tool is wonderful - mindbogglingly fast. I can't believe how long it has been around, without equivalent performance or consistency baked into Windows. I think I first used this before Vista came out - has it really been that long?
- bobcostas55 7y agoWhy doesn't Microsoft just hire this guy? Why didn't they hire him 5 years ago? The internal politics around this feature must be utterly insane.
- HocusLocus 7y ago> Use Everything instead. https://www.voidtools.com/ https://www.voidtools.com/ ++This. Does the essentials such as real time [NTFS] drive monitoring from journals, small memory footprint, presents an accessible and responsive cancel dialogue when a operation will require lots of STATs (like sort many files by size), and has good boolean operators and semi-smart parsing of search lines and Bingo, ""quotes, optionally includes paths, stores file class (audio, video, doc etc) in short-index. For full content search with several viewers and "jump to it and see" preview -- but only for selected document folders, I use DocFectcher. Matching files are presented in a windowpane you can further sort by relevance or -Date (my default), name or size. Reindexing is not done in real time when you change or add files but a small process watches indexed folders and just saves flags of what changes so index update can happen quickly when the main program is run. http://docfetcher.sourceforge.net/en/index.html http://docfetcher.sourceforge.net/en/index.html
- kevingadd 7y agothe .docker problem is because (IIRC) by default the indexing service is set to ignore a bunch of folders. I think Program Files is also excluded by default, which is fun if you want to run an .exe file.
- mannykannot 7y agoFile search seems to have steadily declined with each version at least since XP. The underlying pattern seems to be the combination of more features with a simpler interface. The inevitable result is less transparency for the user. Microsoft's search features have demonstrated repeatedly that this is a bad idea, and what's most puzzling is why they keep doing it. Google maps is another product where useful features are regularly broken by 'improvements'.
- fuzzfactor 7y agoHere's a short search thread with the original 2010 post about W7 followed by a 2011 response and 2014 final experience: https://windowsforum.com/threads/windows-7-file-search-indexing-options.45218/ https://windowsforum.com/threads/windows-7-file-search-index... Some of my scientific instruments are decades old and I like to be able to search back quite a number of years compared to most offices. It's worth the effort to be the most reliable and repeatable you can get. I don't like search to be slow or questionable, and of course it needs to return the same results from the same archive every time. And indexing is not helpful, I usually want to search within every file. Using a 2GHz processor with adequate memory and identical HDD, with no indexing and background services minimized, Best performance was found with W95, then W98, then Wxp, all on FAT32 volumes. Wxp on NTFS, not so good. NT6.x not acceptable. On a modern 2GHz multicore processor and adequate memory and identical HDD (but different than above), with no indexing and background services minimized, Best performance is found with Wxp on FAT32 volumes. _its nice to know W9x would help out in this situation if really needed Wxp on NTFS, not so good. NT6.x less acceptable than ever. . The good thing about Google search was when it would return the same first-page results for anyone anywhere until something different had newly gained higher ranking among everyone altogether. Going back a lot further, the promise of TV without commercial interruption was so long overdue it was wonderfully realized decades earlier in the 1970's by your friendly neighborhood cable TV company. That's why a private content-providing network was installed to premises to begin with, having better bandwidth than the original communication lines from the phone company monopoly. Maybe they are all just trying to improve shareholder results through time at the expense of customer results, the old-fashioned way.