Re: [PATCH] lib: optimize counting documents

2017-01-27 Thread David Bremner
David Bremner writes: > From #xapian > > olly> bremner: btw, i noticed notmuch count see ms to request all the > documents and then ignores them > > bremner> hmm. There's something funny about the way that notmuch uses matches > in general iirc > > olly> it should be able to

Re: [PATCH] lib: optimize counting documents

2017-01-18 Thread Jani Nikula
On Wed, 11 Jan 2017, David Bremner wrote: > From #xapian > > olly> bremner: btw, i noticed notmuch count see ms to request all the > documents and then ignores them > > bremner> hmm. There's something funny about the way that notmuch uses matches > in general iirc > > olly>

[PATCH] lib: optimize counting documents

2017-01-11 Thread David Bremner
From #xapian olly> bremner: btw, i noticed notmuch count see ms to request all the documents and then ignores them bremner> hmm. There's something funny about the way that notmuch uses matches in general iirc olly> it should be able to do: mset = enquire.get_mset (0, 0,