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 E316F429E3B for ; Mon, 16 Jan 2012 14:26:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 czNTw4iqOn4n for ; Mon, 16 Jan 2012 14:26:26 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 7AE5D429E35 for ; Mon, 16 Jan 2012 14:26:26 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034071197.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.71.197]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id q0GMQMUP018191 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 16 Jan 2012 18:26:22 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1Rmv0P-00015c-Kf; Mon, 16 Jan 2012 18:26:21 -0400 From: David Bremner To: Andrei Popescu , notmuch@notmuchmail.org Subject: Re: Partial words on notmuch search? In-Reply-To: <20120116202103.GA14329@think.nuvreauspam> References: <20120115220600.GO7037@think.nuvreauspam> <877h0sa207.fsf@fester.com> <20120116202103.GA14329@think.nuvreauspam> User-Agent: Notmuch/0.11+61~gbaa2c97 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 16 Jan 2012 18:26:21 -0400 Message-ID: <871uqzi8s2.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Mon, 16 Jan 2012 22:26:27 -0000 On Mon, 16 Jan 2012 22:21:03 +0200, Andrei Popescu wrot> > $ notmuch count 'Debian' > 65888 > $ notmuch count '*ebian' > 3 > $ notmuch count '?ebian' > 3 > $ notmuch count 'ebian' > 3 > $ notmuch count '0ebian' You have to delve into the mysteries of xapian query parsing unfortunately. The short answer is that "*" only works at the end of a word.