(BLOCK (PARA (TEXT "In its simplest form, a search expression just contains a string to be search for with the help of a full-text search.") (SOFT) (TEXT "For example, the string ") (LITERAL-INPUT () "syntax") (TEXT " will search for all zettel containing the word ") (FORMAT-QUOTE () (TEXT "syntax")) (TEXT ".")) (PARA (TEXT "If you want to search for all zettel with a title containing the word ") (FORMAT-QUOTE () (TEXT "syntax")) (TEXT ", you must specify ") (LITERAL-INPUT () "title:syntax") (TEXT ".") (SOFT) (FORMAT-QUOTE () (TEXT "title")) (TEXT " denotes the ") (LINK-ZETTEL () "00001006010000" (TEXT "metadata key")) (TEXT ", in this case the ") (LINK-ZETTEL () "00001006020000#title" (TEXT "supported metadata key ") (FORMAT-QUOTE () (TEXT "title"))) (TEXT ".") (SOFT) (TEXT "The colon character (") (FORMAT-QUOTE () (LITERAL-INPUT () ":")) (TEXT ") is a ") (LINK-ZETTEL () "00001007705000" (TEXT "search operator")) (TEXT ", in this example to specify a match.") (SOFT) (FORMAT-QUOTE () (TEXT "syntax")) (TEXT " is the ") (LINK-ZETTEL () "00001007706000" (TEXT "search value")) (TEXT " that must match to the value of the given metadata key, here ") (FORMAT-QUOTE () (TEXT "title")) (TEXT ".")) (PARA (TEXT "A search expression may contain more than one search term, such as ") (LITERAL-INPUT () "title:syntax") (TEXT ".") (SOFT) (TEXT "Search terms must be separated by one or more space characters, for example ") (LITERAL-INPUT () "title:syntax title:search") (TEXT ".") (SOFT) (TEXT "All terms of a select expression must be true so that a zettel is selected.")) (PARA (TEXT "Above sequence of search expressions may be combined by specifying the keyword ") (LITERAL-INPUT () "OR") (TEXT ".") (SOFT) (TEXT "At most one of those sequences must be true so that a zettel is selected.")) (UNORDERED (INLINE (LINK-ZETTEL () "00001007702000" (TEXT "Search term"))) (INLINE (LINK-ZETTEL () "00001007705000" (TEXT "Search operator"))) (INLINE (LINK-ZETTEL () "00001007706000" (TEXT "Search value")))))