There are some important syntax changes:
and/orwill not be explicitly specified in the query.
By default, all the search terms will be connected by and in the backend (
notebookis the only exception).
tag:t1 tag:t2will mean return all notes with tags t1 and t2.
- You can use the
anyoperator if you want the search terms connected by or instead.
any:1 tag:t1 tag:t2which means return the notes that have t1 or t2.
anylike a switch which will flip the default from
notebookoperators are always connected with or (It ignores
any). This makes sense since a note can’t belong to multiple notebooks.
notebook:n1 notebook:n2will restrict the search to notebooks n1, n2.
- You can still use
-to negate the operator.
tag:t1 -tag:t2all notes that have tag t1 and don’t have tag t2.
any:1 tag:t1 -tag:t2all notes that have tag t1 or don’t have tag t2.
title:t1 -body:b1all notes that have t1 in the title but don’t contain b1 in the body.
title:abc -unicornall notes with a title containing ‘abc’ but don’t have ‘unicorn’ in the body.
created/updatedoperators got a syntax change.
created:20201215will return all notes created on and after December 15, 2020.
-created:20201215will return all notes created on and before December 15, 2020.
Multiple created/updated can be used in the same query.
will return notes created between May 1, 1997, and January 01, 2020.
Partial dates are supported.
Along with smart values.