From f7ac6d5c8d1db89e698c6d741cd6f5b3ca22556c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 1 Jun 2010 10:40:38 -0700 Subject: [PATCH] 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. --- TODO | 5 +++++ 1 file changed, 5 insertions(+) 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.