I’m new to Obsidian and couldn’t find any information on this topic, so I apologize if it’s been covered. Let’s say I have two notes: “Habits” and “Sleep.” The “Habits” note has a section about sleep, so I get hits from both notes after searching for “sleep.” However, because “Habits” precedes “Sleep” alphabetically, the former note appears higher up in the search results list, even though the “Sleep” note is more relevant. What is the best strategy for ensuring that the “Sleep” note is prioritized in search results?
- You can search by filename with an operator →
- You can use a tag for priority. An operator for tag should be implemented.
- Sorting options for results should be implemented.
- You can read about the eventuality of a block reference feature/plugin → Block reference
- Do you mean just placing “#” before the search term? Or is there another operator for tags?
- Are you saying that sorting options will be made available in the future? Or is there a way to implement them now? I didn’t see any mention of them in the help vault.
- This looks very promising. Thanks!
- There is no
tag:operator at the moment. If you add a tag to your note (for example #Sleep or #Priority) you can search for the note by using the tag as a search term.
- There isn’t right now, but the need for sorting options is obvious so I think it will be implemented in Obsidian core before entering stable. Same for missing search operators, like
- Yep, it’s essential but the developers seems reluctant to the idea. At least there is a plugin possibility.
tag: search operator and sorting search results is coming in the near-future.