David Bremner <david@tethera.net> writes: > William Casarin <jb55@jb55.com> writes: > >> Another thought I had that I wanted to throw out there for >> consideration. It would be nice to be able to sort by "popular" threads, >> aka sort by the number of messages in each thread. Not sure if this is >> an easy thing to do at the query level? > > I don't see how to manage it as a xapian query. In the current database > schema xapian doesn't really know about threads, except that messages > know what thread they belong to. I noticed notmuch-search shows the number of messages in the thread, perhaps you could just sort on that value when returning the results? _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch