Even better would be to have a way to tap into the search logic in order to provide custom rules. Something like a TextModeSearchQuery event where you are given the query text and you have to provide a list of matching paths.
On every key stroke in TextMode, a list of paths containing the typed string should be created and shown in the popup