From: Carl Worth Date: Tue, 1 Jun 2010 17:40:38 +0000 (-0700) Subject: TODO: Add idea for fixing "notmuch count" to always be exact. X-Git-Tag: 0.4~149 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f7ac6d5c8d1db89e698c6d741cd6f5b3ca22556c;p=notmuch TODO: Add idea for fixing "notmuch count" to always be exact. I had previously thought Xapian only offered an estimate for the number of results that might match a search. But Olly let me know that we can easily ask for Xapian to provide the exact count. --- diff --git a/TODO b/TODO index 7cbf632d..f65e59ab 100644 --- a/TODO +++ b/TODO @@ -247,6 +247,11 @@ into the shared-library interface. Audit all libnotmuch entry points to ensure that all Xapian calls are wrapped in a try/catch block. +Fix the "count" functionality to be exact as Olly explained in IRC: + + ojwb> cworth: if you set the check_at_least parameter to the + database size, get_matches_estimated() will be exact + Search syntax ------------- Implement support for "tag:*" to expand to all tags.