I am not aware of any use macports itself makes of spotlight, so for sure if you don’t plan on using it yourself to search the install prefix, you can disable it.
> On 16 Nov 2021, at 6:26 am, Richard L. Hamilton <rlha...@smart.net> wrote: > > Seems it'd thrash Spotlight a lot less during "port selfupdate" or "port > upgrade outdated" to exclude /opt/local, as long as that wouldn't break > anything (obviously one couldn't then use Spotlight to search /opt/local, but > that's ok with me). > >