Currently, all search result will have its filename when folded, it will be very difficult if I want to find something in specific folder if we don’t have such a button to group results.
You can add path:(Folder name/)
to your search terms to search in a folder. (For more search features see Search - Obsidian Help).
I know such filter feature already exists, but the feature what I wrote is not as same as the one you mentioned, still thanks for your reply.
Sorry, I think I understand the request now.
Another way instead of a separate button might be to add “Path” to the sort options.