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 CF5466DE103C for ; Tue, 12 Mar 2019 10:12:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -9 X-Spam-Level: X-Spam-Status: No, score=-9 tagged_above=-999 required=5 tests=[AM.WBL=-8, ALL_TRUSTED=-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 kkDFxafKC0W2; Tue, 12 Mar 2019 10:12:57 -0700 (PDT) Received: from wondoo.home.cworth.org (unknown [10.0.0.11]) (Authenticated sender: cworth) by arlo.cworth.org (Postfix) with ESMTPSA id 2C1D56DE0ECA; Tue, 12 Mar 2019 10:12:57 -0700 (PDT) Received: from wondoo (localhost [IPv6:::1]) by wondoo.home.cworth.org (Postfix) with ESMTPS id F30431FE405C; Tue, 12 Mar 2019 10:12:56 -0700 (PDT) To: Gregor Zattler , notmuch@notmuchmail.org Subject: Re: how to search for hyphenated words? (was: how to search for Morse code?) In-Reply-To: <87a7i0v950.fsf@len.workgroup> References: <87muui87om.fsf@len.workgroup> <87ef7hyxqs.fsf@len.workgroup> <87a7i4c3t5.fsf@wondoo.home.cworth.org> <87wol4dhe7.fsf@tethera.net> <87a7i0v950.fsf@len.workgroup> Sender: cworth@cworth.org From: Carl Worth Date: Tue, 12 Mar 2019 10:12:52 -0700 Message-ID: <87r2bc9fu3.fsf@wondoo.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Tue, 12 Mar 2019 17:12:57 -0000 --=-=-= Content-Type: text/plain On Tue, Mar 12 2019, Gregor Zattler wrote: > what I do not understand is that it dosn't matter if I search for > > org-notmuch > > or > > "org-notmuch" > > '"org-notmuch"' > > or even > > org ADJ/1 notmuch Correct. All four of those forms are giving you phrase searches, (so a term "org" followed immediately by a term "notmuch"). > a typical example of a matched message is the attached one. > Somehow the search matches the address of this very mailing list > in the body of the email (I assume). No, I don't think you are seeing a match on the mailing-list address itself, (which has "notmuch" two terms before "org"). > Therefore I wonder why notmuch matches 581 messages, not 16795 > messages or 77 messages. David showed you one example from the message you copied: > To: David Edmondson , notmuch@notmuchmail.org And I showed one earlier in the thread. In each case, the message includes "org" followed (after some amount of punctuation and whitespace, perhaps including newlines) by "notmuch". -Carl --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEzvjdyAGcpm1OMJTzYAIzup5U3GEFAlyH6JQACgkQYAIzup5U 3GGKWQ//bENj50ixM/ErVbLYhPHY8JTS3naxWfskDkzEq0W6PvE64dzIMOFw0nYN flcLcpNLjS1q6UpWnDThSNN3kyOq5ySxGOE+NZ6CyvVwLas5l0o5En3bsu+0OxMn AAppxsm++5vX9V6ZizmRytZIHIK3YyogbwZi0p2DlRiFSOoDuEGya0jqfzCCdmAY v4M1GgqUctxx1vOiY3SZ4FKjX+p2eEAtmm6i7mssx4AKEUGaL11WvD3U8owqEjlp bZq4HxYWAlJvUWK6+Sr82t7WjdDzd2DwedVSyz/hWksUaTORua1p8OQ9jExNX+F/ HNFwbjwgVLdNYrHWAKAV+9S5yEUTjmaWAFnMjR4jOp3Aw5/QAwWAzCxRzKBG0FDE aCU8YKV8CfyrdxagpS6Z8hL5dLkAEcOYYBmc1YvtIhnb/vNyvM+VQjVis2n1wLIm tRWF16XxvT7I+f1Q9VoqVubxASEP0vkL6c3YOzyOcott5CTBzpWSurLGhhdQzPDR V07yox59Jt+BZXsLyaCh6rGJAjEfKWtnmSzUllYu9ToVo11LHbq+xyP2fG/V7Msm G7HOhwfe70aWL3MV0NkPmNKJdJJpvfVLMb0aJR8vMhduK+A5xnyo5lZeAZkjfi8r eayEl0LhNQV5mZBqUc1tfT+jSQhJLestITol5ZYykok2HK1c6jM= =4QIQ -----END PGP SIGNATURE----- --=-=-=--