From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 3F7B1431FB6 for ; Sun, 18 Jan 2015 05:39:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IlsZc2NqktAP for ; Sun, 18 Jan 2015 05:39:04 -0800 (PST) X-Greylist: delayed 2234 seconds by postgrey-1.32 at olra; Sun, 18 Jan 2015 05:39:03 PST Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id AA7F9431FAF for ; Sun, 18 Jan 2015 05:39:03 -0800 (PST) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YCpSi-0006b8-NT; Sun, 18 Jan 2015 13:00:16 +0000 Received: (nullmailer pid 29994 invoked by uid 1000); Sun, 18 Jan 2015 12:59:36 -0000 From: David Bremner To: Jani Nikula , David Bremner , notmuch@notmuchmail.org Subject: [PATCH 2/3] doc: add material on stemming and wildcards Date: Sun, 18 Jan 2015 13:59:30 +0100 Message-Id: <1421585971-29949-2-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1421585971-29949-1-git-send-email-david@tethera.net> References: <87h9vojsa0.fsf@nikula.org> <1421585971-29949-1-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 13:39:10 -0000 This is lightly massaged from the searching page on the wiki. --- doc/man7/notmuch-search-terms.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index 52f6804..3b27053 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -129,6 +129,34 @@ operators, but will have to be protected from interpretation by the shell, (such as by putting quotation marks around any parenthesized expression). +Stemming +-------- + +**Stemming** in notmuch means is that these searches + +:: + + notmuch search detailed + notmuch search details + notmuch search detail + +will all return identical results, because Xapian first "reduces" the +term to the common stem (here 'detail') and then performs the search. + +There are two ways to turn this off: a search for a capitalized word +will be performed unstemmed, so that one can search for "John" and not +get results for "Johnson"; phrase searches are also unstemmed (see +below for details). Stemming is currently only supported for +English. Words in other languages will be performed unstemmed unless +somebody teaches Xapian how to perform stemming for that language. + +Wildcards +--------- + +It is possible to use a trailing '\*' as a wildcard. A search for +'wildc\*' will match 'wildcard', 'wildcat', etc. + + Boolean and Probabilistic Prefixes ---------------------------------- -- 2.1.4