Search queries: tag, filter, and other queries

Below are some examples of using the in and the group keywords for filtering search results. These keywords work in the regular search bar as well as in the Ctrl-O quick-search menu, on both web and mobile 🕵️‍♀️.

link#️⃣ Filtering by tags

To search for notes under a particular tag, use the in: special keyword:

in: my-tag-name

To search for all notes under an arbitrary node of the tag hierarchy, include the entire tag name:

in: my-parent-tag/my-child-tag

To search for notes tagged with multiple tags, use comma-separated names of tags:

in: my-first-tag,my-second-tag

Combining the in: keyword with a regular search keyword will yield all notes under a particular tag that contain the given string:

in: my-tag-name My search keyword

Exclude a tag from a search query by typing a caret ^ sign before the tag name:

in: ^daily-jots

☝️ The above will exclude notes tagged with the daily-jots tag from the search results.

Excluding tags also works in comma-separated lists of tags.

in: ^daily-jots,work

☝️ The caret only applies to the tag it precedes, that is, for the query above, the search will only include notes tagged with work that are also not tagged with daily-jots. The query above is equivalent with typing in: work,^daily-jots. 💡

Finally, complex tag filtering also works with regular search keywords:

in: ^daily-jots,work My search keyword

linkgroup queries

Notes created by you: group: created

Archived notes: group: archived

Vault notes: group: vault

Notes that don't have any tags: group: untagged

Notes that have tasks inside them: group: taskLists

Shared notes:

Notes created by you and shared with other people: group: shareSent

Notes created by other people and shared with you: group: shareReceived or group: notCreated

Notes that you are collaborating on with other people: group: shared

Creation date:

Notes updated this week: group: thisWeek

Notes updated today: group: today

linkAdvanced & low-level group queries

Notes that are currently indexing: group: indexing

Notes that are currently syncing to the server: group: saving

Notes currently downloading from the server: group: stale

linkCombining group queries

You can combine search queries that use the group keyword by separating keywords with a comma. The search will consider each keyword as part of an "AND" query.

For example, to search for all notes that have tasks and are not tagged, use the following:

group: untagged,taskLists

linkCombining group and in queries

group and in searches can work together to narrow down what you are looking for!

For example, to search for all notes with the amplenote tag that were shared with you:

in: amplenote group: notCreated

Another example, incorporating the caret ^ sign to negate tag inclusion; this query reveals all notes not tagged daily-jots that have tasks inside them and are archived:

in: ^daily-jots group: taskLists,archived