Fix broken links is a bit of a challenge.
For most users, on a local disc, a "broken link" means the file is moved or deleted. MC can try to re-connect its idea of the file's full path (because the file was moved), and if it can't, move the entry from the Main database to the Removed database (because the file was deleted, and henceforth considers the file as no longer in the library).
But with network file systems, or removable drives, it is impossible to positively determine the existence of a file under any of these conditions:
- permanently gone (file system responsive, but file moved to some other location)
- temporarily unresponsive (for some non-deterministic quantity of time - how long do you wait before giving up?)
So MC tries to figure out which files are on remote or removable drives, and tries to do the right thing as best it can with reasonable timeouts.
Unfortunately, it gets even more complicated when file systems can nest other file systems, transparently to MC, so MC can't use simple heuristics to assume an entire network file system is missing.
It seems the consensus is that it is best to disable Fix broken links if you have network file system or removable drives that are either swapped out frequently, are offline frequently, or you have any other concerns the MC will do the wrong thing in its attempt to reconnect the Filename field with the actual physical path to the file from the OS' point of view.
The custom search query you use will work in a view on only the files
that are in that view. So you may want to create a Smartlist and using the ismissing() rule so that the entire Main database is being used (i.e. all files, no filtering of media types, etc.). By the way, this is equivalent:
[=ismissing()]=1
since the Filename field is the default argument to
IsMissing().
The IsMissing() function simply asks the OS if path value inside the Filename field (or the argument you've passed) is valid and exists.
I believe the Fix links settings should be a per Folder setting, since each Folder you've listed in auto-import may have different characteristics.