I need to play with it and do some searches.
Using grep in emacs is one specific solution (which I asked to be specific about and got the information). You also pointed to occur, which is something you use. There was also something ivy related, I want to explore that too.
What I do now is run rgrep for the directory, and then C-s with ivy which finds what I want from within three results.
mastodon.technology is shutting down by the end of 2022. Please migrate your data immediately. This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!