aboutsummaryrefslogtreecommitdiff
path: root/database.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-28 13:09:08 -0700
committerCarl Worth <cworth@cworth.org>2009-10-28 13:09:08 -0700
commit3a91df21caddd952fe9a3e3ba8128e781a3f6ec5 (patch)
treed7226287369efbae5f048961aa9e675110ed6a84 /database.cc
parentf9bbd7baa07110c7f345c8413e2426d00382cb1c (diff)
index: Store "Full Name <user@example.com>" addressses in the database
We put these is as a separate term so that they can be extracted. We don't actually need this for searching, since typing an email address in as a search term will already trigger a phrase search that does exactly what's wanted.
Diffstat (limited to 'database.cc')
-rw-r--r--database.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/database.cc b/database.cc
index 583bee8..b7fb1f1 100644
--- a/database.cc
+++ b/database.cc
@@ -106,6 +106,7 @@ prefix_t BOOLEAN_PREFIX_INTERNAL[] = {
{ "type", "T" },
{ "ref", "XREFERENCE" },
{ "timestamp", "XTIMESTAMP" },
+ { "contact", "XCONTACT" }
};
prefix_t BOOLEAN_PREFIX_EXTERNAL[] = {