Skip to content
Superliner

Saved searches

A saved search is a note that holds conditions. Its results are the notes that match them, listed under the conditions. Make one for a question you ask often, such as your open tasks or everything about a project.

New search
File ▸ New Search Note (no shortcut), or type ? in a note
Find one
The Searches section of the sidebar, which appears once a search exists
Conditions
Add condition, then All or Any, and Not on each row
Markdown copy
A ## Saved query section with the conditions as a sentence, and the structured record

There are four ways to start one. Each makes a note that keeps its conditions, and the search lives in the Supertags area with supertags and fields.

  1. From the menu

    Choose File ▸ New Search Note. An empty search named New search opens, with the cursor on Add condition. It has no keyboard shortcut.

  2. From a supertag

    On a supertag chip in a note's panel, open the chip's menu and choose Save as Search for #tag. It makes a search named Search: #tag, which matches the notes with that supertag or a supertag that extends it. If one already exists, it opens instead.

  3. With a question mark

    Type ? and some words in a note. The list offers New search for those words, which finds the notes that contain every word. Return makes the search, shows it below the row with its results, and takes away the typed text, as one undo step.

  4. From the Insert command list

    Type / and choose Saved search. It makes a search and shows a reference to it below the row, with its results.

The new search lists nothing until a condition is added.

Add a condition

Click Add condition and choose a kind from the menu. The new row appears at the foot of the list. It is not applied until every part of it is chosen, and the count line says how many conditions are not applied yet. Choose the field, value and comparison in the row, and the results change once the row is complete.

A new Checkbox row starts at Not done. Its results count once the row is complete.

Read the results

The count line at the top of the search reads 12 results, or No results. When a row is not finished, it says how many conditions are not applied yet, and those rows do not change the results. A search with no conditions lists nothing and shows no count.

Results are the notes that match, and each one is a row under the conditions. A result is not the search's to change. Open a result to see or edit its note. To take a note out of the results, change the note or the conditions.

Change a condition or a checkbox, and the results change at once.

Notes in Trash are never results. The Inbox, Journal, Trash and Schema are not results themselves, but the notes inside the Inbox and the Journal are. Supertags, fields and other Schema notes are never results.

Conditions that count from today

A condition such as Today, Last 7 days or Deadline is before today counts from the day you are on. The results change at midnight with no edit, and again when the Mac wakes or its clock or time zone changes.

Sort the results

Sort results by chooses the order. The choices are Default order, Title, Created time, Edited time, and then each field by name. Sort direction is Ascending or Descending. Default order is the note's title, ignoring case and accents, and then the note's identity.

Show the results as a view

The search page can show its results as a Table, Cards, Calendar or List, from the view tabs or View ▸ Show as. The conditions stay above the view. Outline is the default. Lanes and Side menu are not offered for a search.

A table or a board of results takes no New Note, and its rows cannot be removed from the search. Moving a result to Trash is done on the note, from its own page.

Edit a search and undo it

Each finished condition is saved as soon as you finish it, and it is one undo step named Edit Saved Search. A new search is named New Saved Search. Edit ▸ Undo undoes the last one. When you open a search again, its builder is folded to one line with the search's sentence, the count and an Edit button. Edit opens the builder, and Done folds it again.

A search shown again starts folded. Edit opens the conditions.

Combine it

Limits

  • A search holds up to 99 conditions. A condition's text can be up to 1,000 characters.
  • Parent, Grandparent and This note match nothing on a search's own page. They need a search that is shown under a note, such as one inserted into a note with ? or /.
  • A result cannot be added or removed from the search's table or board. Change the note or the conditions.
  • The Markdown copy records the conditions as a sentence and as a structured record.