((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"))))