The (unofficial) API for Obsidian.md searching functionality.
Adds additional flexibility to the parse
function by allowing callers to provide an optional, default filter for empty queries.
Published by b-camphart 10 months ago
Provides support for most commonly-used search features:
file:search-term
path:search-term
content:search-term
(this is the default behavior if no operator is used)tag:search-term
-file:search-term
, file:-search-term
file:(hello world)
, (file:hello file:world)
"Hello World"
, file:"Hello World"
/[a-z]/
, file:/[a-z]/
[property-name]
, [property-name:property-value]
AND
and OR
operators: work OR personal
, file:(work OR personal)
, tag:(work AND meeting)
... and pretty much any combination therein.