mail_query, string_query);
}
+ enquire.set_weighting_scheme (Xapian::BoolWeight());
+
switch (query->sort) {
case NOTMUCH_SORT_OLDEST_FIRST:
enquire.set_sort_by_value (NOTMUCH_VALUE_TIMESTAMP, FALSE);
{
notmuch_database_t *notmuch = query->notmuch;
const char *query_string = query->query_string;
- Xapian::doccount count;
+ Xapian::doccount count = 0;
try {
Xapian::Enquire enquire (*notmuch->xapian_db);