Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
7.67k stars 301 forks source link

BUG: Explorer Plugin Does Not Search For Directories? #2670

Open ParasiteDelta opened 4 months ago

ParasiteDelta commented 4 months ago

Checks

Problem Description

When searching through a tool that indexes both files and folders, it is expected that if you search for a directory and have a match, that it will display as one of the top options.

This is not what happens, however, as no matter what you enter or how you enter your search query, that specific folder that you want will never be listed in the results. It will show random files from nested subdirectories of the directory that you want, but it will never list the directory itself as an item. Because of this, it is physically impossible to search for a specific folder unless you've already added said folder to your Quick Access Links, which ultimately defeats the purpose.

To Reproduce

  1. Try searching for a directory
  2. Realize that said directory never shows up in the results, add the desired directory to Quick Access Links
  3. Have it finally show up in the results

Screenshots

Explorer results with the desired directory added to Quick Access Links: image

Explorer results without the desired directory added to Quick Access Links: image

Flow Launcher Version

1.18.0

Windows Build Number

10.0.19045.3324

Error Log

```shell Replace this line with the important log contents. ```
deefrawley commented 4 months ago

Are you using Everything or Windows Index as your search engine (can be found in the plugin settings)?

ParasiteDelta commented 4 months ago

I tried using Windows Index before switching to Everything, and it's the same thing in both cases for me. The weird part is that I tried directly searching using the Everything window, and it worked flawlessly; pulled up the target directory immediately.

taooceros commented 4 months ago

Would this related to result ordering? We don't associate a score for the result found, which may make the directory result appears relatively at the bottom?

ParasiteDelta commented 4 months ago

image

Sadly, it doesn't seem so. That's why this is so weird: the result that one expects, the directory itself, never appears in the list. Random subdirectories that are nested within the desired directory show up, but the directory itself is never listed.

image

And again, it shows up properly without full completion using Everything.

jjw24 commented 3 months ago

@taooceros didn't we at some point added searching of the path as well? These irrelevant results do have path matching the search text.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] commented 1 month ago

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.