aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2019-03-12 21:47:10 -0300
committerDavid Bremner <david@tethera.net>2019-03-31 11:59:59 -0300
commit6b0cf9b21a8fe8b9a3cd9479e46835bb0eef024b (patch)
tree8de04f95f15c3ab36edac65bd57d5963af8c5ca3
parent2717ff96a70a252a9ca7afea92a07d12f2139742 (diff)
lib: add clarification about the use of "prefix" in the docs.
-rw-r--r--lib/database.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc
index fc42c4ba..f33f0af6 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -63,6 +63,12 @@ typedef struct {
* We currently have three different types of documents (mail, ghost,
* and directory) and also some metadata.
*
+ * There are two kinds of prefixes used in notmuch. There are the
+ * human friendly 'prefix names' like "thread:", which are also used
+ * in the query parser, and the actual prefix terms in the database
+ * (e.g. "G"). The correspondence is maintained in the file scope data
+ * structure 'prefix_table'.
+ *
* Mail document
* -------------
* A mail document is associated with a particular email message. It