From: David Bremner <david@tethera.net>
To: matt@bubblegen.co.uk, notmuch@notmuchmail.org
Subject: Re: quirks with subject searching
Date: Tue, 21 Apr 2015 08:47:11 +0900 [thread overview]
Message-ID: <87383ufjls.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net>
Matthew Lear <matt@bubblegen.co.uk> writes:
>
> item: foo
> an item: foo
> an item: XYfoo1234
> an item: XYfoo bar
>
> ... only the first two are found.
>
> Also:
> * notmuch searching for subject:"item: f" gives zero results.
notmuch (and xapian) are based on searching for words, not
substrings. It only finds subwords through a process of stemming [1].
>
> * notmuch searching for subject:"(*foo*)" results in the first two threads
> being found and also a thread with the word footprint in the middle of the
> subject being found (subject is "memory footprint without feature").
wildcards [2] are supported only at the end of words, so I suppose the first
* is just ignored.
>
> Why doesn't notmuch search subject:foo find all four threads, and why
> doesn't notmuch search subject:"item: f" find anything at all?
Hopefully the above clears it up. This topic comes up fairly often; I'm
not sure if there is something we could add to the (already rather
long) notmuch-search-terms manpage that would help.
[1] "Stemming" in notmuch-search-terms (7)
[2] "Wildcards" in notmuch-search-terms (7)
prev parent reply other threads:[~2015-04-20 23:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 13:35 quirks with subject searching Matthew Lear
2015-04-20 23:47 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87383ufjls.fsf@maritornes.cs.unb.ca \
--to=david@tethera.net \
--cc=matt@bubblegen.co.uk \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).