News for hackers. Stuff that matters.
Re:macOS Tips and Tricks (2022) by eszed on Friday February 28, 2025 @01:24AM (#43202356)
I have no problems with Spotlight search. I use Alfred for the plug-ins, it's extensibility, workflows, clipboard history, everything else it can do.

Alfred search, in fact, really irritates me in that I've not found a good way to limit the search space. No, I really don't want files inside various node_modules folders filling up the search results. <Sigh> I'll try Spotlight, or go directory traversing, again. Anyone have a solution for that?

Re:macOS Tips and Tricks (2022) by latexr on Friday February 28, 2025 @03:54AM (#43203363)
Re:macOS Tips and Tricks (2022) by quacker on Friday February 28, 2025 @01:45AM (#43202482)
I'm on Sonoma (14.5). In System Settings > Siri & Spotlight,

1. I can deselect some pre-defined categories that Spotlight searches

2. I can click the "Spotlight Privacy..." button (at the very bottom right). Then I can add folders for it to ignore.

(My preference is for Spotlight to ignore almost everything, so that it isn't indexing stuff and eating CPU on this old Macbook Air. I only have it scan Applications, Calculator, and System Settings. I have it specifically ignore my entire home directory which is where all my git repos are.)

Re:macOS Tips and Tricks (2022) by eszed on Friday February 28, 2025 @05:56PM (#43212860)
Are you saying that if I limit the Spotlight search space then Alfred will follow? Makes sense, if it's relying on Spotlight's index. I'll give it a try.
Re:macOS Tips and Tricks (2022) by numpy-thagoras on Friday February 28, 2025 @02:58AM (#43202957)
Spotlight search seems to have gotten better, while Alfred search has had me rebuild my index more than just a few times and it doesn't cope well with nested directories.

Something happened in 15.1 onwards for me where Spotlight has become way faster and way better. But yes, Alfred used to dominate in search and speed as well.