X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=searching.mdwn;fp=searching.mdwn;h=1be833d491cad852bbca2597dcb6a9d7dc38572d;hp=5838420373ae90bf44999fcc45c08872c9d6e2c7;hb=cccb44571b0e004c498355efb08602024bb8df81;hpb=70375b230657e1da3757cb4e3e8f10df00ebdd3e diff --git a/searching.mdwn b/searching.mdwn index 5838420..1be833d 100644 --- a/searching.mdwn +++ b/searching.mdwn @@ -44,17 +44,17 @@ It is possible to use a trailing '\*' as a wildcard. A search for ## Operators -Xapian implements the typical usual operators and a few more that are +Xapian implements the usual operators and a few more that are useful when searching e-mails. -*Note: The operators need not be capitalized for notmuch, so NOT and not are +*Note: The operators need not be capitalized for notmuch, so 'NOT' and 'not' are equivalent. The capitalized form is used below only for readability* ### '+' and '-' notmuch search +term1 -will return results that contain 'term1'. +will only return results that contain 'term1'. notmuch search -term2 @@ -124,7 +124,7 @@ can be set like this: notmuch search term1 ADJ term2 will return results where term1 is within 10 words of term2, but in the -same order. The threshold can be set the same as with NEAR: +same order as in the query. The threshold can be set the same as with NEAR: notmuch search term1 ADJ/7 term2