Add guidance for excluding subfolders for folder sources#2414
Open
joshcanhelp wants to merge 1 commit intoblacksmithgu:masterfrom
Open
Add guidance for excluding subfolders for folder sources#2414joshcanhelp wants to merge 1 commit intoblacksmithgu:masterfrom
joshcanhelp wants to merge 1 commit intoblacksmithgu:masterfrom
Conversation
holroy
requested changes
Feb 25, 2025
Collaborator
There was a problem hiding this comment.
Instead of saying To exclude subfolders, use the file.folder property. which kind of indicates that using the file.folder is excluding, could we word it more like:
To exclusively look in this particular folder, and not subfolders, we can use the `file.folder` property like shown below.
And possibly also re-add the FROM "projects/brainstorming" since that is done at an earlier level of the query, and could affect the overall performance of the query. This could have a huge impact on a larger vault.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I found this guidance in the Obsidian forums and it worked for what I needed. I thought it would be helpful for others (and wanted to confirm this was the best way to accomplish it).