Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id C31556DE034D for ; Fri, 29 Apr 2016 19:08:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.311 X-Spam-Level: X-Spam-Status: No, score=-2.311 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iR8tYiOWmtzk for ; Fri, 29 Apr 2016 19:08:47 -0700 (PDT) Received: from mailchk-m05.uwaterloo.ca (mailservices.uwaterloo.ca [129.97.128.141]) by arlo.cworth.org (Postfix) with ESMTPS id C3CE86DE0319 for ; Fri, 29 Apr 2016 19:08:46 -0700 (PDT) Received: from connect.uwaterloo.ca (connsmtp1.connect.uwaterloo.ca [129.97.149.101]) by mailchk-m05.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u3U28hjr017457 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK) for ; Fri, 29 Apr 2016 22:08:43 -0400 Received: from uwaterloo.ca (46.243.138.61) by connhub1.connect.uwaterloo.ca (129.97.149.113) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 29 Apr 2016 22:08:41 -0400 From: Sebastian Fischmeister To: Notmuch Mail Subject: notmuch-address-command questions Reply-To: X-Homepage: http://esg.uwaterloo.ca Date: Fri, 29 Apr 2016 22:08:41 -0400 Message-ID: <87wpnfn90f.fsf@uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain X-UUID: 4020914a-8889-4f41-8333-4a2a8782d77e X-Miltered: at mailchk-m05 with ID 572413AB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: clamav-milter 0.99 at mailchk-m05 X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.9 (mailchk-m05.uwaterloo.ca [129.97.128.141]); Fri, 29 Apr 2016 22:08:44 -0400 (EDT) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 02:08:54 -0000 Hi, I'm trying out the internal expansion for notmuch-address-command. One thing I immediately notice is that it has lag over 250K emails, since it's lookup up addresses each time. Scripts like nottoomuch-addresses have cached results of only all email addresses and have instantaneous response. The second thing is that it seems to list any email it finds. However, I don't care about email addresses found in emails from 10 years ago. I only care about the last two years. Maybe the lag can be addressed by addressing the time horizon for the search: Is it possible to limit the email address search to the last two years? I currently do this in searches by automatically inserting "date:2y..now " in the search field for normal email searches. Thanks. Sebastian