[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 20 / 55d650039ca60a3b3225c1fed0687a1fe9a841
1 Return-Path: <bremner@tesseract.cs.unb.ca>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id F3BC1429E26\r
6         for <notmuch@notmuchmail.org>; Mon, 23 Feb 2015 12:17:25 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.438\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
12         tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id EcUEajlVL-LC for <notmuch@notmuchmail.org>;\r
16         Mon, 23 Feb 2015 12:17:25 -0800 (PST)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18         [87.98.215.224])\r
19         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 445FD429E25\r
22         for <notmuch@notmuchmail.org>; Mon, 23 Feb 2015 12:17:25 -0800 (PST)\r
23 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
24         4.80) (envelope-from <bremner@tesseract.cs.unb.ca>)\r
25         id 1YPzHh-0001d4-Ru; Mon, 23 Feb 2015 20:07:17 +0000\r
26 Received: (nullmailer pid 5904 invoked by uid 1000); Mon, 23 Feb 2015\r
27         20:06:24 -0000\r
28 From: David Bremner <david@tethera.net>\r
29 To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,\r
30         notmuch@notmuchmail.org\r
31 Subject: [Patch v2 2/4] doc: add more information on operators.\r
32 Date: Mon, 23 Feb 2015 21:05:35 +0100\r
33 Message-Id: <1424721937-5797-3-git-send-email-david@tethera.net>\r
34 X-Mailer: git-send-email 2.1.4\r
35 In-Reply-To: <1424721937-5797-1-git-send-email-david@tethera.net>\r
36 References: <87a9163fpf.fsf@maritornes.cs.unb.ca>\r
37         <1424721937-5797-1-git-send-email-david@tethera.net>\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 23 Feb 2015 20:17:26 -0000\r
51 \r
52 More material borrowed from the wiki page on "searching"\r
53 ---\r
54  doc/man7/notmuch-search-terms.rst | 42 ++++++++++++++++++++++++++++++++++-----\r
55  1 file changed, 37 insertions(+), 5 deletions(-)\r
56 \r
57 diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst\r
58 index 7fb4a27..1bd3df5 100644\r
59 --- a/doc/man7/notmuch-search-terms.rst\r
60 +++ b/doc/man7/notmuch-search-terms.rst\r
61 @@ -124,17 +124,49 @@ The time range can also be specified using timestamps with a syntax of:\r
62  Each timestamp is a number representing the number of seconds since\r
63  1970-01-01 00:00:00 UTC.\r
64  \r
65 -In addition to individual terms, multiple terms can be combined with\r
66 -Boolean operators ( **and**, **or**, **not** , etc.). Each term in the\r
67 -query will be implicitly connected by a logical AND if no explicit\r
68 -operator is provided, (except that terms with a common prefix will be\r
69 -implicitly combined with OR until we get Xapian defect #402 fixed).\r
70 +Operators\r
71 +---------\r
72  \r
73 +In addition to individual terms, multiple terms can be combined with\r
74 +Boolean operators (**and**, **or**, **not**, and **xor**). Each term\r
75 +in the query will be implicitly connected by a logical AND if no\r
76 +explicit operator is provided, (except that terms with a common prefix\r
77 +will be implicitly combined with OR).  The shorthand '-<term>' can be used for 'not <term>' but\r
78 +unfortunately this does not work at the start of an expression.\r
79  Parentheses can also be used to control the combination of the Boolean\r
80  operators, but will have to be protected from interpretation by the\r
81  shell, (such as by putting quotation marks around any parenthesized\r
82  expression).\r
83  \r
84 +In addition to the standard boolean operators, Xapian provides several\r
85 +operators specific to text searching.\r
86 +\r
87 +::\r
88 +\r
89 +        notmuch search term1 NEAR term2\r
90 +\r
91 +will return results where term1 is within 10 words of term2. The\r
92 +threshold can be set like this:\r
93 +\r
94 +::\r
95 +\r
96 +        notmuch search term1 NEAR/2 term2\r
97 +\r
98 +The search\r
99 +\r
100 +::\r
101 +\r
102 +        notmuch search term1 ADJ term2\r
103 +\r
104 +will return results where term1 is within 10 words of term2, but in the\r
105 +same order as in the query. The threshold can be set the same as with\r
106 +NEAR:\r
107 +\r
108 +::\r
109 +\r
110 +        notmuch search term1 ADJ/7 term2\r
111 +\r
112 +\r
113  Stemming\r
114  --------\r
115  \r
116 -- \r
117 2.1.4\r
118 \r