unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Matthew Lear" <matt@bubblegen.co.uk>
To: notmuch@notmuchmail.org
Subject: quirks with subject searching
Date: Mon, 20 Apr 2015 14:35:29 +0100	[thread overview]
Message-ID: <10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net> (raw)

Hello all,
This may well be due to my novice use of search syntax, but I'm having
issues find needle in haystack within the subject of an email thread.
This simple example highlights the problem I'm having:

When using notmuch search subject:foo for threads with the following
subjects...

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 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").

* notmuch searching for subject:"an item: XYfoo1234" results in the third
being found.

Why doesn't notmuch search subject:foo find all four threads, and why
doesn't notmuch search subject:"item: f" find anything at all?

This was spurred on by me having a thread with the following as the subject..

Release Update: BT52_ETW_MD4.5.4alpha1_take1

..and notmuch search subject:4.5.4 finding nothing.

Something doesn't seem right here. man notmuch-search-terms doesn't seem
to explain this as far as I can see.
FWIW I'm using notmuch from git, master @ 294bb6d.
Any thoughts / tips?
Thanks,
--  Matt

             reply	other threads:[~2015-04-20 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 13:35 Matthew Lear [this message]
2015-04-20 23:47 ` quirks with subject searching David Bremner

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=10f88378b37e653bba961be66183d2d5.squirrel@webmail.plus.net \
    --to=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).