Right now if you have a file within the Excluded Files feature you have no way of having it show up in Search results. Search is such an important core feature in Obsidian it seems like there needs to be a way of finding/showing search results even if in the Excluded Files. Below are a couple proposals for how this could be done:
Similar to the way the Quick Switcher works where it de-prioritizes the results and adds to the bottom of the list.
If Search did that, I think that is a good solution that weeds out the excluded stuff from the noise but still gives you a way to see them if/when you want to.
So you could have a separate section at the bottom of Search results (similar to like linked / unlinked references) that shows all results from âExcluded filesâ. Then you could collapse/expand as necessary.
Maybe there could be a Search toggle/button you could use to âShow excluded resultsâ similar to âShow more contextâ. Adding a button to the Search results panel to show/hide these excluded results would be a great solution for me.
Another proposal that christian_s from Discord suggested was: A possibility could be to show in search when explicitly specified by "path:[excluded folder here]" command.
Either way, Search is just such a vital feature within Obsidian that I think there should be a way to Search it when you want/need to. It can be a bit confusing if you are searching for something in your vault and it isnât showing up⌠then you have to remember âoh yeah I excluded that folderâ. 80% of the time I may want it excluded but there should be a way that when needed, I can still find/search something even if in Excluded folder.
*Similar Feature Requests I created recently for this Excluded Files feature:
+1
Similar to #2, if you could chose what the excluded files are excluded from. e.g. only Graph View. Would be good to still have them searchable - especially for tags
Just to add to this, #2 and/or #3 would also be workable for me.
Use case is my vault contains a folder with a large archive in it. I donât want files from that archive to clutter things during regular use, but I still need to be able to search it when I want to specifically do so.
I need exactly this. There was a similar request here I have a couple of folders that I keep in my main vault for linking purposes, but donât want them gumming up search and quick switcher (daily notes as a scratch pad for ideas and a work folder for all work related things). Iâd love to exclude them from search when at all possible UNLESS I decide that Iâd like to search them. Manually changing the settings to include them is tedious and time consuming. Iâm going to try the workaround of keeping the folders excluded, but using the plugin omnisearch when I need to drill into these folders, but I donât like having to use two different search tools.
This would be great , especially for files in an âArchiveâ folder in the PARA organization method. To me, itâs similar to Mail applications that search everything except Trash and Junk folders, but give you the option to search them if you select them.
There could be a manner, shortcut or hotkey, which can start a âfreshâ search which is not affected by the exclusion option. So that the materials within the archive folder, which is excluded for most of the daily use, can be searched easily.
Now, one have to remove all exclusion options to get a search considering all pathes in the vault and restore these options one by one after the search.
Moreover, it seems that the âExcluded filesâ option does not affect Quick Switcher core plugin, i.e. one will always see all the files in vault in the Quick Switcher, which I think needs improvement:
making the notes in excluded file(path) more distinctive in the Quick Switcher menu
using an initial letter, for example â/â, separate the 2 modes which represend With Excluded Files and Without Excluded Files, respectively.
additional options in the Quick Switcher setting, indicate which mode will be used by Quick Switch: Prioritizing the file not in the excluded files(paths); Exclude the files in the excluded files(paths);