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 F3A876DE022D for ; Wed, 10 Oct 2018 09:36:42 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.269 X-Spam-Level: X-Spam-Status: No, score=-0.269 tagged_above=-999 required=5 tests=[AWL=-0.069, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] 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 1KQp-dZUzULc for ; Wed, 10 Oct 2018 09:36:42 -0700 (PDT) Received: from jb55.com (jb55.com [45.79.91.128]) by arlo.cworth.org (Postfix) with ESMTPS id 6EF4F6DE0207 for ; Wed, 10 Oct 2018 09:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d= jb55.com; h=from:to:subject:date:message-id; s=default; bh=C0yCBOBaNduMlo0tUEIi22iPiR41C1iJ021rHc71sAk=; b=Hl+GaMLT8GQRqkNsHT5rxUomw046F/TO137UPBG00T5pyVbIk2l5d3bWO0wmW45V+V7TiVc68JYTerNc4fs1qrD9MfvrsmbB2wCC0um2j43mSMdd0Xdounr/ZL5I+nwWHbOw++xVZaDzjon7SjVhzQmNxs0QwMBqTcm5XsK8KRNmW47ESjpAXpcaxTdDKqCBobG6bld/XJTaElq273zyo2pMJAKll8SVDfLqvuumzIfX1Z8GdHs22AGq4g1bv4UJaCAWo+w8HrRClpXtQ2jkZWQmEL+zWSvAdjKwVNiDiT/isAsQprygLFAkBdAte3plwTJsPEUWumc2dYcihhxqTQ== Received: from jb55.com (S010660e327dca171.vc.shawcable.net [24.84.152.187]) by jb55.com (OpenSMTPD) with ESMTPSA id a25a7227 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 10 Oct 2018 16:36:42 +0000 (UTC) From: William Casarin To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH RFC] index: add body: search query term In-Reply-To: <87pnwh2225.fsf@jb55.com> References: <20181010055326.19030-1-jb55@jb55.com> <87in2arsjk.fsf@tethera.net> <87pnwh2225.fsf@jb55.com> Date: Wed, 10 Oct 2018 09:36:41 -0700 Message-ID: <87murl21ye.fsf@jb55.com> 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: Wed, 10 Oct 2018 16:36:43 -0000 William Casarin writes: > I wonder if it's all worth the effort though, since a workaround could > be: > > notmuch search and not subject: > > If it's too annoying to have a body prefix, due to index bloat or > performance issues, would doing something hacky such as translating > 'body:' to ' and not subject:' make sense? Thinking about this some more, this is not exactly the same, since this would explicitly exclude subjects, whereas the body query wouldn't care what the subject was. -- https://jb55.com