Search operators for YAML metadata

Use case or problem

YAML metadata headers are a useful way to add information to a page. It would be nice to have a clean and efficient way to search them
using Obsidian’s core search features.

Proposed solution

A search operator like key:: (notice the double colon), where “key” is any arbitrary metadata header in your notes’ YAML metadata.

Current workaround (optional)

Dataview.

https://blacksmithgu.github.io/obsidian-dataview/

However, Dataview queries are a bit harder to write than Obsidian’s core search queries, and there’s no “search pane” for dataview.

20 Likes

:sob:
thought the operator was already added as a new feature and tried for 30 minutes…

1 Like

+1 for this suggestion.

It would be especially useful if this new search operator also applied to the Graph view’s Filters → “Search files…” and Groups → “Enter query…” and showed as one of the search options in the context menu


Related/possible duplicate: Search operator for YAML similar to Line / Section

2 Likes