I noticed many of my files weren't coming up in search, and it was bothering me for the longest time. I finally decided to spend some time to troubleshoot and narrow down the issue. I've concluded it has something to do with hyphens. Doesn't seem to happen with periods or underscores. However, most of my file nomenclature across my machine utilizes hyphens in this way.
When I'm trying to find a file based on a section of its name, it won't come up in Alfred's search results if that section happens to be sandwiched between two other file name sections. In other words, surrounded by a hyphen on each side.
Below are two screenshots that should be able to show what I'm talking about. Each screenshot should show three results.
Any idea what might be causing this? Fixing this would be a life saver.
Thanks in advance!