Re: [PATCH] add headers cc: bcc: and to: (as exactto:) to search index

Subject: Re: [PATCH] add headers cc: bcc: and to: (as exactto:) to search index

Date: Sun, 12 Dec 2010 11:43:25 +0100

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: Joel Borggrén-Franck


On Sun, Dec 12, 2010 at 7:41 AM, Austin Clements <amdragon@gmail.com> wrote:
> Short of full header indexing, wouldn't a better way to achieve this be to
> store only the "to" header as "XTO", the "cc" header "XCC", and the "bcc"
> header as "XBCC" and use Xapian's multi-prefix support to map the "to:"
> query prefix to "XTO", "XCC", and "XBCC"?  That way you're not storing twice
> as many copies of  every address.
>

Probably. I know nothing of Xapian, how would you solve it?

cheers
/Joel

Thread: