There are many options for viewing search results.
Look at the top panel of the end console. There is [+] expand all [-] Collapse all and many grouping options. This will allow you to quickly filter the results.

When you select "Filter by file", you will see all the files (flat, I think this is what you wanted) that have your search result.
source share