- Docs
- Views
Search
Find notes fast with plain words, exact phrases, operators for path, tag, file and section, property filters and regular expressions.
Open search with Ctrl + Shift + F or from the left sidebar. Search works across note names, paths, titles, aliases, tags, headings, properties and body text, entirely on your device.
Scaffold uses an in-memory index that behaves the same on Windows and Android and is rebuilt from your files, so there is no database to repair.
Basics
- Every word you type must match somewhere in the note (an implicit AND).
- Words match by prefix, so
archfinds archive. Longer words also tolerate a small typo. - Matching ignores letter case unless you turn on case-sensitive search.
Operators
| Write | Meaning |
|---|---|
"exact phrase" |
The literal phrase. |
-word or -"two words" |
Exclude notes that match. |
a OR b |
Either side. OR must be upper case. |
( ... ) |
Group terms, for example (slow OR quiet) reading. |
path:Projects |
The full path contains this text. |
file:japan |
The file name contains this text. |
tag:#travel |
The note has this tag. Nested tags match their parent too. |
content:word |
Only the body text, not the name or path. |
section:(a b) |
Both words appear in the same heading section. |
[status:Draft] |
A property equals a value. List properties match any element. |
[status] |
The note has this property at all. |
/regex/ |
A JavaScript regular expression over the note text. |
Property filters also accept numeric comparisons such as [rating:>3].
Results
Each result shows the note, where it matched and a snippet with the matched text highlighted. Click a result to open it at that spot. Search can be limited to a folder or to the current note.
Quick switcher
For jumping to a note by name, use the quick switcher (Ctrl + O) instead. It matches file names and aliases as you type.
Search and the graph
The graph and bases accept the same kind of filters, so a query you built here is a good starting point for colour groups in the graph or a filter in Bases.