I can only speak UNIX (sorry for that):
A simple grep-command would do the job here.
It shows all the files (or other info if needed) where a search expression occurs.
(Little bit the same as the ‘isolation’ script I wrote to highlight search terms in my research vaults).
Still figuring out a good use of linked and ‘unlinked’ search terms which gave me another insight on MOC’s (thanks for that Obsidian!).