unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Michal Vyskocil <mvyskocil@suse.cz>
To: notmuch@notmuchmail.org
Subject: Re: Search using email headers does not work
Date: Tue, 12 Feb 2013 18:32:16 +0100	[thread overview]
Message-ID: <20130212173216.GL7346@zelvantb.site> (raw)
In-Reply-To: <877gmdo46y.fsf@servo.finestructure.net>

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

On Tue, Feb 12, 2013 at 09:03:01AM -0800, Jameson Graef Rollins wrote:
> On Tue, Feb 12 2013, David Bremner <david@tethera.net> wrote:
> > Unfortunately currently headers other than those references in the
> > notmuch-search-terms man page are not indexed.  The only workaround I
> > can think of without patching notmuch is to use some tool to tag the
> > messages you care about.
> 
> I think even more importantly headers other than those that are parsed
> are actually thrown to /dev/null.  They are not even indexed as plain
> text, so you can search for terms in headers as you can for words in the
> body.
> 
> I asked this on irc but it got lost in the shuffle: would it make sense
> to index the entire header block as plain text?  If we did that then at
> least the search that Michal was trying would return the expected
> results.  It would also be a fairly simple change to the indexer.  I
> don't have a good sense of how much it would pollute the index, though.

[skipping CC line and sending to list]

Hi,

I like such idea - but how hard would be to add a config options to
extend a list of default headers used for indexing? I am not sure there
is a strong need to index every bit from headers, just add few tips to
the default list.

Regards
Michal Vyskocil

> 
> Given how frequently people are asking for alternate header indexing, it
> might be something to consider.
> 
> jamie.



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-02-12 17:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 14:52 Search using email headers does not work Michal Vyskocil
2013-02-12 11:50 ` David Bremner
2013-02-12 17:03   ` Jameson Graef Rollins
2013-02-12 17:32     ` Michal Vyskocil [this message]
2013-02-12 19:57       ` Carl Worth
2013-02-12 20:05         ` David Bremner
2013-02-13  7:55           ` Mark Walters
2013-02-13 21:09             ` Jameson Graef Rollins
2013-02-13 21:20               ` Alexey Feldgendler
2013-02-15  8:27           ` Tomi Ollila

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=20130212173216.GL7346@zelvantb.site \
    --to=mvyskocil@suse.cz \
    --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).