* mu-store-xapian.cc: remove obsolete comment

This commit is contained in:
Dirk-Jan C. Binnema
2010-02-11 20:20:34 +02:00
parent 5228495e56
commit 302f7ea9d5

View File

@ -181,14 +181,6 @@ add_terms_values_number (Xapian::Document& doc, MuMsgGMime *msg,
doc.add_term (pfx + numstr); doc.add_term (pfx + numstr);
} }
/* FIXME: note that we store the same data as both a term and a value;
* we use the term for search and the value for getting the the data
* from the document; it's better to only use the value; however, this
* requires some changes in the query processing.
*/
static void static void
add_terms_values_string (Xapian::Document& doc, MuMsgGMime *msg, add_terms_values_string (Xapian::Document& doc, MuMsgGMime *msg,
const MuMsgField* field) const MuMsgField* field)
@ -229,8 +221,8 @@ add_terms_values_body (Xapian::Document& doc, MuMsgGMime *msg,
if (mu_msg_gmime_get_flags(msg) & MU_MSG_FLAG_ENCRYPTED) if (mu_msg_gmime_get_flags(msg) & MU_MSG_FLAG_ENCRYPTED)
return; /* don't store encrypted bodies */ return; /* don't store encrypted bodies */
str = mu_msg_gmime_get_body_text(msg); str = mu_msg_gmime_get_body_text (msg);
if (!str) /* FIXME: html->html fallback */ if (!str) /* FIXME: html->txt fallback needed */
str = mu_msg_gmime_get_body_html (msg); str = mu_msg_gmime_get_body_html (msg);
if (!str) if (!str)