(((meta (@ (content . "Query: Search Expression") (name . "title"))) (meta (@ (content . "manual") (name . "role"))) (meta (@ (content . "#manual #search #zettelstore") (name . "tags"))) (meta (@ (content . "zmk") (name . "syntax"))) (meta (@ (content . "00001007700000 00001007720300 00001007720600 00001007770000") (name . "back"))) (meta (@ (content . "00001007700000 00001007720300 00001007720600 00001007770000") (name . "backward"))) (meta (@ (content . "1") (name . "box-number"))) (meta (@ (content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta (@ (content . "20230707205043") (name . "created"))) (meta (@ (content . "00001006010000 00001006020000 00001007702000 00001007705000 00001007706000") (name . "forward"))) (meta (@ (content . "en") (name . "lang"))) (meta (@ (content . "EUPL-1.2-or-later") (name . "license"))) (meta (@ (content . "20230707210039") (name . "modified"))) (meta (@ (content . "20230707210039") (name . "published"))) (meta (@ (content . "public") (name . "visibility")))) (p "In its simplest form, a search expression just contains a string to be search for with the help of a full-text search." " " "For example, the string " (kbd "syntax") " will search for all zettel containing the word " (@L (@H "“") "syntax" (@H "”")) ".") (p "If you want to search for all zettel with a title containing the word " (@L (@H "“") "syntax" (@H "”")) ", you must specify " (kbd "title:syntax") "." " " (@L (@H "“") "title" (@H "”")) " denotes the " (a (@ (href . "00001006010000")) "metadata key") ", in this case the " (a (@ (href . "00001006020000#title")) "supported metadata key " (@L (@H "“") "title" (@H "”"))) "." " " "The colon character (" (@L (@H "“") (kbd ":") (@H "”")) ") is a " (a (@ (href . "00001007705000")) "search operator") ", in this example to specify a match." " " (@L (@H "“") "syntax" (@H "”")) " is the " (a (@ (href . "00001007706000")) "search value") " that must match to the value of the given metadata key, here " (@L (@H "“") "title" (@H "”")) ".") (p "A search expression may contain more than one search term, such as " (kbd "title:syntax") "." " " "Search terms must be separated by one or more space characters, for example " (kbd "title:syntax title:search") "." " " "All terms of a select expression must be true so that a zettel is selected.") (p "Above sequence of search expressions may be combined by specifying the keyword " (kbd "OR") "." " " "At most one of those sequences must be true so that a zettel is selected.") (ul (li (a (@ (href . "00001007702000")) "Search term")) (li (a (@ (href . "00001007705000")) "Search operator")) (li (a (@ (href . "00001007706000")) "Search value"))))