From: Gaute Hope Date: Mon, 6 Jun 2016 12:53:55 +0000 (+0000) Subject: Re: searching: '*analysis' vs 'reanalysis' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=014c45e87588eb285c3cf75b630f91cfecf8026e;p=notmuch-archives.git Re: searching: '*analysis' vs 'reanalysis' --- diff --git a/b6/9994dc045dee5e305f5095612ae1fa8db27eb0 b/b6/9994dc045dee5e305f5095612ae1fa8db27eb0 new file mode 100644 index 000000000..6c2c5e1a3 --- /dev/null +++ b/b6/9994dc045dee5e305f5095612ae1fa8db27eb0 @@ -0,0 +1,109 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 969646DE02DA + for ; Mon, 6 Jun 2016 05:54:10 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.556 +X-Spam-Level: +X-Spam-Status: No, score=-0.556 tagged_above=-999 required=5 tests=[AWL=0.164, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 6PZ8yujL-Kjy for ; + Mon, 6 Jun 2016 05:54:00 -0700 (PDT) +Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com + [209.85.215.52]) + by arlo.cworth.org (Postfix) with ESMTPS id 5A74F6DE0281 + for ; Mon, 6 Jun 2016 05:54:00 -0700 (PDT) +Received: by mail-lf0-f52.google.com with SMTP id s186so29021484lfs.1 + for ; Mon, 06 Jun 2016 05:54:00 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623; + h=date:from:subject:to:references:in-reply-to:user-agent:message-id + :mime-version:content-transfer-encoding; + bh=kLCw8Kf210jPBwlOiEkpU7U1Mur4VSBJqcFcah5fZ5o=; + b=laCLU+DLRCyKue59pZDUZB5a8//2ZNNKtRGaNLYe/2Zr70kvdyr2g/6R9hAc1AcDtZ + aTO5L3LCAMESTjGrDoKoI3WZByq4QIWsLXeDoJIAndDzmgHuWJl2HErSNet4VJaX1TTC + YbQoTvpk3YgvtdD2BPp4cec8VY2juuCz6JMepRQZhs2XeKLuGLjdR8wkRML8H6uWja0e + Ydk5DdFhze+5DE1j5iqgJbcXSEvfYwL7lM8yi9c+eHXAWKfdsPpQXRfNkuN2L6Tr7MZg + oDwgYNUpy3mYNTPeDjdi8L5ktw0HmEuOIQ9LAJlxJQLdDCuY8QA7APxXMXPz4LHHkRfj + yYyw== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:date:from:subject:to:references:in-reply-to + :user-agent:message-id:mime-version:content-transfer-encoding; + bh=kLCw8Kf210jPBwlOiEkpU7U1Mur4VSBJqcFcah5fZ5o=; + b=WINNEexRgIqQhNv3w70OqSnuiYGl3ZeaBXC8Cu8pJpTc3w6AUdgzqFC7Ji46o+Fh1W + Z9uUU1vdtW/HAGwsEQf/mxAutV0P+Y1saA/QRsk2ZveixH8aULT9pcR3P4+UY4HR7F2m + Vc+y055Tz28dWOCTMbBml3jrGKysBm+XnZRMsfdEIVUPwXMWnwXykP4r62bCz2JasGkj + mMUA5KPqDj3aIaTcKdHzDTbrOl0eCsqGw1XqU29Br+GTPIKyNv1mPv6RRQ25/gP8eiYl + P9sQjDJA7/w8JkzK4Yl2CwDv3ksQIBngJMOkvo+YtzR/Mr7ubJ39JIWIuIKSI56DdOA9 + SZJQ== +X-Gm-Message-State: + ALyK8tJ3V5H3IQBsMKsnQK8T4TyX0jNMjL9SbhiZVG8OCfKgrG9V3wSUW/0lKuVgwrZPeg== +X-Received: by 10.25.206.147 with SMTP id e141mr1078964lfg.138.1465217638372; + Mon, 06 Jun 2016 05:53:58 -0700 (PDT) +Received: from localhost ([128.39.46.106]) + by smtp.gmail.com with ESMTPSA id g4sm1677426lji.24.2016.06.06.05.53.56 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 06 Jun 2016 05:53:56 -0700 (PDT) +Date: Mon, 06 Jun 2016 12:53:55 +0000 +From: Gaute Hope +Subject: Re: searching: '*analysis' vs 'reanalysis' +To: David Bremner , notmuch@notmuchmail.org +References: <1465196150-astroid-3-33kf2otxir-16915@strange> + <87lh2ijxor.fsf@tesseract.cs.unb.ca> +In-Reply-To: <87lh2ijxor.fsf@tesseract.cs.unb.ca> +User-Agent: astroid/v0.5-212-ge1a06043 (https://github.com/gauteh/astroid) +Message-Id: <1465217156-astroid-4-8l08w9cils-2318@strange> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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, 06 Jun 2016 12:54:10 -0000 + +David Bremner writes on juni 6, 2016 14:42: +> Gaute Hope writes: +> +>> Hi, +>> +>> I have an email with the word 'reanalysis' in the subject line and the +>> email body. However, when I try to search for '*analysis' or 'analysis' +>> I do not get any matches, should not '*analysis' at least match? +>> +> +> We talked about this on IRC (the short answer is no), but is there some +> improvement you could suggest to the "Wildcards" section in +> notmuch-search-terms(7) ? + +Yes, thanks, not very important, but maybe add the sentence: + +> It is not possible to use wildcards at the beginning of a term. + +after the current explanation to emphasize this limitation (possibly +blaming Xapian to avoid futile requests). + +I think it is something many would expect (and want). The current +description feels more like an example, and it is easy to make the +assumption that it works for prefixing the terms as well - although, +technically, nothing is promised in the original docs. + +-gaute + + +=