Hey,
Hyphen is the reserved character so it will be excluded from the result
For any search string, the following characters are reserved:
If any of those characters appears in a query, it is escaped to prevent errors. For example, the string John+Doe is escaped to John\\+Doe.
I think you can write custom logic to replace the "hyphen" with space or any other character and then your search will work properly.
I have a question regarding media search from a user perspective. The majority of image files we are importing follow a certain, established naming convention that includes a hyphen (e.g. tr17-0030) and searching for that exact name returns every file that includes tr17 with no exact match and it seems to ignore everything after the hyphen. I wanted to confirm if that is the case and if there is a way to adjust the search to include hyphens so the results would return tr17-0030 at the top of the list.