From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id C6A966DE0ED9 for ; Mon, 18 Feb 2019 05:06:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.007 X-Spam-Level: X-Spam-Status: No, score=-0.007 tagged_above=-999 required=5 tests=[AWL=-0.006, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43JrEY28aiwq for ; Mon, 18 Feb 2019 05:06:30 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id DF2BE6DE0ED6 for ; Mon, 18 Feb 2019 05:06:29 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1gvicu-0002Km-Ud for notmuch@notmuchmail.org; Mon, 18 Feb 2019 08:06:28 -0500 Received: (nullmailer pid 27266 invoked by uid 1000); Mon, 18 Feb 2019 13:06:25 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [PATCH] WIP: add searching by body: In-Reply-To: <20190218115622.31466-1-david@tethera.net> References: <20190218115622.31466-1-david@tethera.net> Date: Mon, 18 Feb 2019 09:06:25 -0400 Message-ID: <871s45gsa6.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 18 Feb 2019 13:06:30 -0000 David Bremner writes: > --- > this basically impliments a suggestion of Olly Betts on IRC. > > I don't _think_ it requires indexing, since the new queries work on the old database. > > In principle this should result in smaller indexes and somewhat faster > indexing, as it doesn't add terms twice anymore. To clarify, this is not supposed to change the behaviour of unprefixed terms in queries: they should still match occurances in headers. So "notmuch search foo" should still match a message with "Subject: foo" d