Advanced Search
Typing in a search term in the sidebar, for the most part, works the way you expect.
However, if you want more control and flexibility over your search, you can use advanced search. This capability is offered by the search library we use (Fuse.js).
The following is adapted from their documentation. This syntax is subject to change as we make it better and more intuitive to use over time.

How to use advanced search

White space acts as an AND operator, while a single pipe (|) character acts as an OR operator. To escape white space, use double quote ex. ="search query" for exact match.
Token
Match type
Description
query
fuzzy-match
Items that fuzzy match query
=query
exact-match
Items that are query
'query
include-match
Items that include query
!query
inverse-exact-match
Items that do not include query
^query
prefix-exact-match
Items that start with query
!^query
inverse-prefix-exact-match
Items that do not start with query
query$
suffix-exact-match
Items that end with query
!query$
inverse-suffix-exact-match
Items that do not end with query
Advanced search is particularly useful when working with tags. For example, if you want to search for all blocks that have the tag #todo but not the tag #done, you can search for #todo !#done.
Last modified 2mo ago