unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* WIP: store message headers in document data area
@ 2018-06-23  1:42 David Bremner
  2018-06-23  1:42 ` [PATCH 01/12] test: link test_C snippets to libnotmuch_util.a David Bremner
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: David Bremner @ 2018-06-23  1:42 UTC (permalink / raw)
  To: notmuch

Every Xapian document (thing in the database) has a data area that
stores an arbitrary string. That string is not usable for searching
(unlike terms or values), but can be used e.g. for display. Currently
we don't use this part of the Xapian document at all.  While I was
working adding all of the subjects of multi-file messages for regex
search, it seemed like it might be useful to fix the default subject
displayed to the user independent of how search terms/values are
added. I also have the feeling this might be useful for encrypted
headers. Before I suggested that I wanted to get a clearer idea of how
hard that would be to do.

There's really not that much new code here, it's mainly tests, and
some code movement. Unlike message properties, these are not currently
backed up. I guess that could be done, although I'd like to have a
clearer idea of the use cases before I do that.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-06-23  1:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-23  1:42 WIP: store message headers in document data area David Bremner
2018-06-23  1:42 ` [PATCH 01/12] test: link test_C snippets to libnotmuch_util.a David Bremner
2018-06-23  1:42 ` [PATCH 02/12] lib: move string-map functions to libnotmuch_util David Bremner
2018-06-23  1:42 ` [PATCH 03/12] test: add initial tests for string-map David Bremner
2018-06-23  1:42 ` [PATCH 04/12] util/string-map: add _notmuch_string_map_serialize David Bremner
2018-06-23  1:42 ` [PATCH 05/12] util/string-map: add _notmuch_string_map_deserialize David Bremner
2018-06-23  1:42 ` [PATCH 06/12] util/string-map: add round trip test David Bremner
2018-06-23  1:42 ` [PATCH 07/12] util/string-map: add _notmuch_string_map_set David Bremner
2018-06-23  1:42 ` [PATCH 08/12] lib/database: add NOTMUCH_FEATURE_MESSAGE_DATA David Bremner
2018-06-23  1:42 ` [PATCH 09/12] lib: add data_map field to message structs David Bremner
2018-06-23  1:42 ` [PATCH 10/12] lib: factor out xapian access from notmuch_message_get_header David Bremner
2018-06-23  1:42 ` [PATCH 11/12] lib/message: check message data_map for header David Bremner
2018-06-23  1:42 ` [PATCH 12/12] lib/message: add notmuch_message_set_header David Bremner

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