X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fquery.cc;h=2c8d167255bb903a5224d6d5b7ba0408e108bd00;hb=9041c1389cfddb79bf4cc268f5cd94d4af41c27a;hp=9106b92deeccfe7a646091c5e8cc35bc660569ed;hpb=e991148b00fc683d1591ba27c387c6156d0ee67e;p=notmuch diff --git a/lib/query.cc b/lib/query.cc index 9106b92d..2c8d1672 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -134,6 +134,8 @@ notmuch_query_search_messages (notmuch_query_t *query) 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);