Ask HN: Why is on-device search terrible?
My search experience across a lot of products is, to put it bluntly, garbage. Apple Mail, Gmail App on Android, Finder search, Windows Explorer search, MacOs Spotlight... rarely find what I'm looking for.
Why is it so bad? Are indexes / Io ops really that expensive?
39 comments
[ 5.7 ms ] story [ 97.1 ms ] thread[0] https://www.voidtools.com/
I also like WinDirStat a lot for Windows file management, which is not really for search but gives a great view of disk usage.
Actually, the secret sauce to both WizTree's and Everything's speed is the NTFS Master File Table (MFT) [1].
[1]: https://learn.microsoft.com/en-us/windows/win32/fileio/maste...
Have never been able to find anything.
Probably worth benchmarking against fzf/ripgrep when I can find the time.
SwiftSearch is excellent and uses the same tech: https://sourceforge.net/projects/swiftsearch/
Even if the db is not up to date, it's likely faster to update/search than rely on find
I find simple searches by file name useful, but that's also because I'm fairly diligent to keep my filesystems organized
The launcher called Albert is helpful as a sort of Spotlight stand-in with Linux (maybe elsewhere?). It does math, runs things, and can have things like a dictionary added. I believe it can also search
The demonstrations there confirm searching... and way more than I can do justice here
I also catfish https://launchpad.net/catfish-search which is excellent. Also can search within text files.
I install it through the Fedora repositories and only use the bundled extensions, so I don't worry too much about it
Have you tried rebuilding your Spotlight index? https://support.apple.com/en-us/HT201716
Have you tried rebuilding your Mail.app index? https://support.apple.com/guide/mail/rebuild-mailboxes-mlhlp...
I did rebuild my index, I have a 1TB SSD drive and even excluded external drives.
https://www.howtogeek.com/224344/how-to-disable-spotlights-w...
Yeah, I used to love being able to open apps with CMD+space <app name> enter. Now it doesn't work. And yes, I have apps enabled in spotlight.
TL;DR the "fix" is to reset all network settings, or alternately, make sure content search is enabled for all your apps in Settings.
[0] https://www.reddit.com/r/ios/comments/xg6vhr/ios16_5_second_...
if you're on windows and haven't discovered the newest Terminal experience nor winget, you're welcome
I think that the guy that wrote OneGet had it mostly right, but it seems (as a layman who knows nothing about Microsoft) that he simply did not have the political power to make it actually get picked up by the higher ups at Microsoft and that someone else did which is why it took an extra half-decade to actually happen.
I do wonder what would have happened in my career had OneGet actually taken off . Previously I used to work exclusively on Windows, and I now work exclusively on non-Windows machines. At the time that I switched developer experience was one of my primary frustrations - and lack of a proper Homebrew/apt/yum like experience on Windows was a non-insignificant part of that. Chocolatey was OK at the time, but paled in comparison to its MacOS and Linux equivalents.
However yes i/o is time consuming and you can see that when programs update their indexes.
I am not complaining about spending time on i/o and processing to make an index. I merely stated that it does take time. I didn't think Windows' one was worth it when I last used Windows so I would always disable it but I haven't done likewise on linux.
Searching for “baseball” will return pictures of a baseball, a team playing baseball, photos that were taken at the location of a baseball stadium, AND photos that literally have the word baseball in text somewhere within the photo.
- For fast search need to use indexes, which tend to be few times larger than data. Far on MacOs show 4-5 versions of same file ("timemachine" version system).
I think this is just psychology question, people don't like when appear those strange files.