In older releases of macOS one could create `.metadata_never_index` in any folder to prevent it and its children from being indexed. This seems to have [stopped working][1] at some point. Does this or another similar method work in Catalina and Mojave?

*Note: I am not interested in adding `.noindex` to file/folder names.*


  [1]: https://apple.stackexchange.com/questions/92784/preventing-spotlight-from-indexing-files-folders#comment396013_92785