I think it would be better to leave the To, Cc and Bcc as they are and
just add a "recipient" term, the name is easier to grasp.
Servilio
Add the "exactto", "cc", and "bcc" terms just like you do but *remove*
the "to" term altogether. Then in notmuch_database_open, after it's added
the usual probabilistic prefixes, do something like
notmuch->query_parser->add_prefix ("to", _find_prefix ("exactto"));
notmuch->query_parser->add_pr
I think it would be better to leave the To, Cc and Bcc as they are and
just add a "recipient" term, the name is easier to grasp.
Servilio
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
On Sun, Dec 12, 2010 at 7:41 AM, Austin Clements 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
Add the "exactto", "cc", and "bcc" terms just like you do but *remove*
the "to" term altogether. Then in notmuch_database_open, after it's added
the usual probabilistic prefixes, do something like
notmuch->query_parser->add_prefix ("to", _find_prefix ("exactto"));
notmuch->query_parser->add_pr
On Sun, Dec 12, 2010 at 7:41 AM, Austin Clements 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
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
a
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
a
Hi,
On Thu, 02 Dec 2010 09:48:03 -0800, Dirk Hohndel
wrote:
> On Wed, 1 Dec 2010 21:33:55 +0100, Joel Borggr?n-Franck
> wrote:
> > From: Joel Borggr?n-Franck
> >
> > Add headers cc: bcc: and to: to index. Real header to: is searched as
> > "exactto:foo at bar.baz" and search term "to:" is k
Hi,
On Thu, 02 Dec 2010 09:48:03 -0800, Dirk Hohndel wrote:
> On Wed, 1 Dec 2010 21:33:55 +0100, Joel Borggrén-Franck
> wrote:
> > From: Joel Borggrén-Franck
> >
> > Add headers cc: bcc: and to: to index. Real header to: is searched as
> > "exactto:f...@bar.baz" and search term "to:" is kept
On Wed, 1 Dec 2010 21:33:55 +0100, Joel Borggrén-Franck
wrote:
> From: Joel Borggrén-Franck
>
> Add headers cc: bcc: and to: to index. Real header to: is searched as
> "exactto:f...@bar.baz" and search term "to:" is kept as a union of cc:,
> bcc: and to: for backward compatibility. Use search
On Wed, 1 Dec 2010 21:33:55 +0100, Joel Borggr?n-Franck wrote:
> From: Joel Borggr?n-Franck
>
> Add headers cc: bcc: and to: to index. Real header to: is searched as
> "exactto:foo at bar.baz" and search term "to:" is kept as a union of cc:,
> bcc: and to: for backward compatibility. Use search
From: Joel Borggrén-Franck
Add headers cc: bcc: and to: to index. Real header to: is searched as
"exactto:f...@bar.baz" and search term "to:" is kept as a union of cc:,
bcc: and to: for backward compatibility. Use search term "cc:" resp.
"bcc:" to search those headers respectively.
---
lib/datab
From: Joel Borggr?n-Franck
Add headers cc: bcc: and to: to index. Real header to: is searched as
"exactto:foo at bar.baz" and search term "to:" is kept as a union of cc:,
bcc: and to: for backward compatibility. Use search term "cc:" resp.
"bcc:" to search those headers respectively.
---
lib/dat
14 matches
Mail list logo