Goal
Make it easy to separate interesting from uninteresting results while preserving the ability to still search for the uninteresting results.
As a programmer, I have tons and tons of files and folders on my computer due to downloaded libraries (think Maven, Gradle caches, node_modules, libs for cmake etc).
Thus, searching for files by fragments of the name only will often show me tons of of results, e.g. wanting to navigate to my "kotlin" folder, I get over 4000 folder results because of various caches and downloaded library files, even though I only have 1-10 folders that I'm interested in with "kotlin" in the name.
I don't want to outright exclude these directories from the index because I sometimes still need to be able to locate them.
Feature Idea
Here's one idea how this could work: Allow to define "groups". Items are assigned into one of these groups according to rules.
That way files from multiple directories can be organized into the same group, while some specific subfolders could still be assigned to a different group.
The results view could then show not only one list of results, but a hierarchy (and a toggle to use the current list based view), for example:
- Personal Documents
- Result
- Result
- Programming Projects
- Result 1
- Result 2
- Everything Else
- Result 1
- Result 2
- Library files, Caches and other things
- Result
- Result
- Result
As an idea how the settings page might look:
- List of Groups, defines order in which groups appear in results, contains special "Everything else" group or similar
- Group Name
- Personal Documents
- Programming Projects
- Everything Else*
- Library files, Caches and other things
- Add/Delete/Edit/Up/Down buttons
- List of Rules
- Rule | Assigned Group
- In Directory: C:\Users\vqrs\projects\tools\cache | Library files, Caches and other things
- In Directory: C:\Users\vqrs\.m2 | Library files, Caches and other things
- In Directory: C:\Users\vqrs\.gradle | Library files, Caches and other things
- Parent directory: node_modules | Library files, Caches and other things
- In Directory: C:\Users\vqrs\projects | Programming Projects
- In Directory: C:\Users\vqrs\Documents\Personal | Personal
- Add/Delte/Edit/Up/Down buttons
I'm guessing these rule definitions would be taken into account every time the index needs to be updated. Thus, I don't know how complex the rules could be in order not to impact performance too badly. OTOH, it's an opt in feature
Cheers and thanks for considering. I'd be willing to help with the implementation if that helps to get the feature done of course.