]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch search: Clarify documentation of implicit Boolean operators
authorCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 17:35:26 +0000 (10:35 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 17:35:26 +0000 (10:35 -0700)
The original documentation of implicit AND is what we want, but
Xapian doesn't actually let us get that today. So be honest about
what the user can actually expect. And let's hope the Xapian
wizards give us the feature we want soon:

http://trac.xapian.org/ticket/402

notmuch.c

index 1f5898949cac9153158bd227dcc3f0023a3c99d3..09420ee887d655c0ffe3e21e4a4587c3fcd59204 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -1073,7 +1073,9 @@ command_t commands[] = {
       "\t\tIn addition to individual terms, multiple terms can be\n"
       "\t\tcombined with Boolean operators (\"and\", \"or\", \"not\", etc.).\n"
       "\t\tEach term in the query will be implicitly connected by a\n"
-      "\t\tlogical AND if no explicit operator is provided.\n\n"
+      "\t\tlogical AND if no explicit operator is provided, (except\n"
+      "\t\tthat terms with a common prefix will be implicitly combined\n"
+      "\t\twith OR until we get Xapian defect #402 fixed).\n\n"
       "\t\tParentheses can also be used to control the combination of\n"
       "\t\tthe Boolean operators, but will have to be protected from\n"
       "\t\tinterpretation by the shell, (such as by putting quotation\n"