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 3244A429E3B for ; Mon, 16 Jan 2012 18:34:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 26N5C5U+HEVS for ; Mon, 16 Jan 2012 18:34:43 -0800 (PST) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id B30FC429E35 for ; Mon, 16 Jan 2012 18:34:43 -0800 (PST) X-AuditID: 1209190d-b7fbf6d0000008ba-d3-4f14de42c1dd Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 39.54.02234.24ED41F4; Mon, 16 Jan 2012 21:34:42 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q0H2YfEA013650; Mon, 16 Jan 2012 21:34:42 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0H2YeCJ006356 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 16 Jan 2012 21:34:41 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1RmysZ-0006Np-8D; Mon, 16 Jan 2012 21:34:31 -0500 Date: Mon, 16 Jan 2012 21:34:31 -0500 From: Austin Clements To: Andrei Popescu Subject: Re: Partial words on notmuch search? Message-ID: <20120117023431.GF16740@mit.edu> References: <20120115220600.GO7037@think.nuvreauspam> <877h0sa207.fsf@fester.com> <20120116202103.GA14329@think.nuvreauspam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120116202103.GA14329@think.nuvreauspam> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42IRYrdT13W6J+JvcKqF32LVBGmL6zdnMjsw eeycdZfd49mqW8wBTFFcNimpOZllqUX6dglcGRtP9TEWPGSteHFSrYHxNEsXIyeHhICJxMZr p9kgbDGJC/fWA9lcHEIC+xgl7rw6yQzhbGCUeNhyDqxKSOAkk8Tb694QiSWMErfvfWAFSbAI qErMnLWdEcRmE9CQ2LZ/OZgtIqArse5rC1gNs4C0xLffzUwgtjBQ/NSOA+xdjBwcvAI6Ei+v h0PMb2CUaH1RD2LzCghKnJz5hAWiVUvixr+XTCDlIGOW/+MACXMKmEs8e3GNHcQWFVCRmHJy G9sERqFZSLpnIemehdC9gJF5FaNsSm6Vbm5iZk5xarJucXJiXl5qka6RXm5miV5qSukmRlBA c0ry7mB8d1DpEKMAB6MSD+8tbxF/IdbEsuLK3EOMkhxMSqK8HTeBQnxJ+SmVGYnFGfFFpTmp xYcYJTiYlUR4BX2AcrwpiZVVqUX5MClpDhYlcV5VrXd+QgLpiSWp2ampBalFMFkZDg4lCd72 u0CNgkWp6akVaZk5JQhpJg5OkOE8QMN3g9TwFhck5hZnpkPkTzEqSonz9oEkBEASGaV5cL2w hPOKURzoFWHeFpAqHmCygut+BTSYCWhwTqsQyOCSRISUVANjifJr7u1vPj23lD/66O/ntVt5 J71YMe/viv+iTc8+SzpuWNtbwDjR8nrwhSNn/tXNkIyUW8gu2pBdt/Qop6XdkzC+89NcVrvs 7/RadnD1yp35UasMrftm94SYZr8LM+XXCWm4eSIt1EJcaWntJ5XHGq6b9p9091nF4OlQrPQ1 LeT722idos2tSizFGYmGWsxFxYkAN1VKZxMDAAA= Cc: notmuch@notmuchmail.org 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: Tue, 17 Jan 2012 02:34:45 -0000 Quoth Andrei Popescu on Jan 16 at 10:21 pm: > This is also interesting: > $ notmuch count 'debian' > 65888 > $ notmuch count 'dEbian' > 65888 > $ notmuch count 'Debian' > 65887 The first two will match stemmed versions of "debian" such as "debian's" and "debianed". However, starting a term with a capital letter suppresses stemming (because it suggests that it's a name, which you wouldn't want to modify), so your last query matches only the term "debian". This is probably documented somewhere, though I don't know where. > Where can I read more about this? (except the source :) Most of this is in the Xapian query syntax document you found. Really we ought to beef-up Notmuch's query syntax documentation.