{"video_id":"EAF54G1maQw","title":"Windows File Search SUCKS","channel":"Techquickie","show":"Techquickie","published_at":"2022-05-05T14:58:16Z","duration_s":284,"segments":[{"start_s":0.0,"end_s":7.54,"text":"You know what really ruptures my hot pocket? When even though you have a fast PC, you type in a search string in the file explorer,","speaker":null,"is_sponsor":0},{"start_s":7.54,"end_s":12.3,"text":"that progress bar inches toward the end, and then it just stops for enough time for you","speaker":null,"is_sponsor":0},{"start_s":12.3,"end_s":15.58,"text":"to just go and find the thing the old fashioned way.","speaker":null,"is_sponsor":0},{"start_s":15.58,"end_s":20.7,"text":"So what gives? Oh, and we're aware there's another Windows search that also sucks, but that'll be a","speaker":null,"is_sponsor":0},{"start_s":20.7,"end_s":25.98,"text":"topic for another video. It turns out that although the Windows file search can be immensely frustrating, it's","speaker":null,"is_sponsor":0},{"start_s":25.98,"end_s":33.98,"text":"actually just trying to be thorough. You see by default, Windows searches not only the file names, but also the file contents.","speaker":null,"is_sponsor":0},{"start_s":33.98,"end_s":38.86,"text":"And even if you have a really fast NVMe SSD, you're essentially asking the operating system","speaker":null,"is_sponsor":0},{"start_s":38.86,"end_s":43.3,"text":"to go through and examine nearly every byte on the drive.","speaker":null,"is_sponsor":0},{"start_s":43.3,"end_s":47.74,"text":"And with an individual drive potentially holding trillions of bytes, this can take a","speaker":null,"is_sponsor":0},{"start_s":47.74,"end_s":54.42,"text":"really long time. Of course, as frustrated as we get at Microsoft sometimes, they aren't stupid, and so they've","speaker":null,"is_sponsor":0},{"start_s":54.42,"end_s":58.1,"text":"tried to mitigate the problem with a feature called indexing.","speaker":null,"is_sponsor":0},{"start_s":58.1,"end_s":62.1,"text":"You probably heard this term if you've ever read about the way online search engines work,","speaker":null,"is_sponsor":0},{"start_s":62.1,"end_s":66.84,"text":"as they store information on webpages in a big index so that Google searches only take","speaker":null,"is_sponsor":0},{"start_s":66.84,"end_s":70.18,"text":"a few fractions of a second instead of hours.","speaker":null,"is_sponsor":0},{"start_s":70.18,"end_s":74.78,"text":"Similarly, Windows indexes the contents of your hard drive or SSD while your computer","speaker":null,"is_sponsor":0},{"start_s":74.78,"end_s":81.08,"text":"is at idle. So whenever you go to search for a file, it can bring up index results very quickly.","speaker":null,"is_sponsor":0},{"start_s":81.08,"end_s":84.84,"text":"So why can searches still take so long to complete then?","speaker":null,"is_sponsor":0},{"start_s":84.84,"end_s":88.74,"text":"What's going on is that although index results can come up in a few seconds after you type","speaker":null,"is_sponsor":0},{"start_s":88.74,"end_s":93.88,"text":"in your query, Windows does not index your whole system by default.","speaker":null,"is_sponsor":0},{"start_s":93.88,"end_s":98.68,"text":"Notably, the users folder containing personal documents, downloads, and data such as save","speaker":null,"is_sponsor":0},{"start_s":98.68,"end_s":104.2,"text":"games will get indexed, but the vast majority of the remainder of your drive will not.","speaker":null,"is_sponsor":0},{"start_s":104.2,"end_s":109.72,"text":"Additionally, many file types don't have their contents indexed by default either.","speaker":null,"is_sponsor":0},{"start_s":109.72,"end_s":115.52,"text":"Windows does index the contents of text files such as those with a .txt or .docx extension,","speaker":null,"is_sponsor":0},{"start_s":115.52,"end_s":119.6,"text":"but won't bother with most other file types, which can make finding what you're looking","speaker":null,"is_sponsor":0},{"start_s":119.6,"end_s":125.6,"text":"for even more tricky. Once Windows finishes searching through the index, it will then turn through all the non-index","speaker":null,"is_sponsor":0},{"start_s":125.6,"end_s":130.08,"text":"information on the disk, which the search feature has little to no advanced knowledge","speaker":null,"is_sponsor":0},{"start_s":130.08,"end_s":135.84,"text":"of, hence the hugely long wait times when searching large sections of your drive.","speaker":null,"is_sponsor":0},{"start_s":135.84,"end_s":139.52,"text":"Fortunately, the default settings can be tweaked to your liking.","speaker":null,"is_sponsor":0},{"start_s":139.52,"end_s":144.12,"text":"Bring up the control panel and click indexing options, then modify, where you can choose","speaker":null,"is_sponsor":0},{"start_s":144.12,"end_s":147.64,"text":"as many folders or drives as you'd like to add to the index.","speaker":null,"is_sponsor":0},{"start_s":147.64,"end_s":152.44,"text":"You can also click advanced, then file types, if there are certain kinds of files where","speaker":null,"is_sponsor":0},{"start_s":152.44,"end_s":160.28,"text":"you'd like to have Windows index the entire contents. There's even an option to delete and rebuild the index if you're continually experiencing","speaker":null,"is_sponsor":0},{"start_s":160.28,"end_s":167.52,"text":"issues with the search feature. There's also another way to speed things up when you actually run a search in File Explorer.","speaker":null,"is_sponsor":0},{"start_s":167.52,"end_s":176.48,"text":"Click view, then options, then the search tab. You'll see an option that's on by default to always search non-index file contents.","speaker":null,"is_sponsor":0},{"start_s":176.48,"end_s":180.68,"text":"Clearing this option will stop the file search feature from looking through every byte in","speaker":null,"is_sponsor":0},{"start_s":180.68,"end_s":185.32,"text":"the selected folder or drive, which is often the culprit of the search progress bar seeming","speaker":null,"is_sponsor":0},{"start_s":185.32,"end_s":191.72,"text":"to hang near the end. But it may cause you to miss some relevant results, so pick your poison.","speaker":null,"is_sponsor":0},{"start_s":191.72,"end_s":198.36,"text":"Now it may sound like an even better idea is to just index everything on the whole drive,","speaker":null,"is_sponsor":0},{"start_s":198.36,"end_s":203.36,"text":"including the file contents, but beware that this can take up a lot of system resources","speaker":null,"is_sponsor":0},{"start_s":203.36,"end_s":210.08,"text":"if you don't have a fast PC. And when you actually finally do go and run a search, it can take a long time for Windows","speaker":null,"is_sponsor":0},{"start_s":210.08,"end_s":214.32,"text":"to search through an index that large, meaning you might have more or less the same problem","speaker":null,"is_sponsor":0},{"start_s":214.32,"end_s":220.56,"text":"that you started with. Instead, a good approach is to selectively use the indexing options tool to select only","speaker":null,"is_sponsor":0},{"start_s":220.56,"end_s":225.32,"text":"folders, drives, and file contents you think you may need to find quickly in the future.","speaker":null,"is_sponsor":0},{"start_s":225.32,"end_s":229.32,"text":"It might be a bit of a hassle to set up, but it's better than waiting around until you're","speaker":null,"is_sponsor":0},{"start_s":229.32,"end_s":235.44,"text":"dead. So thanks for watching guys. If you liked this video, hit like, hit subscribe, and hit us up in the comments section with","speaker":null,"is_sponsor":0},{"start_s":235.44,"end_s":238.04,"text":"your suggestions for videos that we should make in the future.","speaker":null,"is_sponsor":1}],"full_text":"You know what really ruptures my hot pocket? When even though you have a fast PC, you type in a search string in the file explorer, that progress bar inches toward the end, and then it just stops for enough time for you to just go and find the thing the old fashioned way. So what gives? Oh, and we're aware there's another Windows search that also sucks, but that'll be a topic for another video. It turns out that although the Windows file search can be immensely frustrating, it's actually just trying to be thorough. You see by default, Windows searches not only the file names, but also the file contents. And even if you have a really fast NVMe SSD, you're essentially asking the operating system to go through and examine nearly every byte on the drive. And with an individual drive potentially holding trillions of bytes, this can take a really long time. Of course, as frustrated as we get at Microsoft sometimes, they aren't stupid, and so they've tried to mitigate the problem with a feature called indexing. You probably heard this term if you've ever read about the way online search engines work, as they store information on webpages in a big index so that Google searches only take a few fractions of a second instead of hours. Similarly, Windows indexes the contents of your hard drive or SSD while your computer is at idle. So whenever you go to search for a file, it can bring up index results very quickly. So why can searches still take so long to complete then? What's going on is that although index results can come up in a few seconds after you type in your query, Windows does not index your whole system by default. Notably, the users folder containing personal documents, downloads, and data such as save games will get indexed, but the vast majority of the remainder of your drive will not. Additionally, many file types don't have their contents indexed by default either. Windows does index the contents of text files such as those with a .txt or .docx extension, but won't bother with most other file types, which can make finding what you're looking for even more tricky. Once Windows finishes searching through the index, it will then turn through all the non-index information on the disk, which the search feature has little to no advanced knowledge of, hence the hugely long wait times when searching large sections of your drive. Fortunately, the default settings can be tweaked to your liking. Bring up the control panel and click indexing options, then modify, where you can choose as many folders or drives as you'd like to add to the index. You can also click advanced, then file types, if there are certain kinds of files where you'd like to have Windows index the entire contents. There's even an option to delete and rebuild the index if you're continually experiencing issues with the search feature. There's also another way to speed things up when you actually run a search in File Explorer. Click view, then options, then the search tab. You'll see an option that's on by default to always search non-index file contents. Clearing this option will stop the file search feature from looking through every byte in the selected folder or drive, which is often the culprit of the search progress bar seeming to hang near the end. But it may cause you to miss some relevant results, so pick your poison. Now it may sound like an even better idea is to just index everything on the whole drive, including the file contents, but beware that this can take up a lot of system resources if you don't have a fast PC. And when you actually finally do go and run a search, it can take a long time for Windows to search through an index that large, meaning you might have more or less the same problem that you started with. Instead, a good approach is to selectively use the indexing options tool to select only folders, drives, and file contents you think you may need to find quickly in the future. It might be a bit of a hassle to set up, but it's better than waiting around until you're dead. So thanks for watching guys. If you liked this video, hit like, hit subscribe, and hit us up in the comments section with your suggestions for videos that we should make in the future."}