biox wow, so you scan your whole computer, not just specific folders with photos? In that case, I don’t think that filtering certain file types would improve situation much. There still will be huge amount of folders that would take forever to scan.
I would suggest alternative approach - just exclude specific folders from your scan if you don’t need them in your index. That will not only give you more control over what you see and what you don’t, but also will speed up regular rescan significatnly.