From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E0C2F6DE107A for ; Sat, 2 Mar 2019 07:43:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=5 tests=[AWL=-0.009, SPF_PASS=-0.001] 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 JRafXvdoC3d6 for ; Sat, 2 Mar 2019 07:43:43 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 4FE736DE0F72 for ; Sat, 2 Mar 2019 07:43:43 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h06ne-0004La-Gk for notmuch@notmuchmail.org; Sat, 02 Mar 2019 10:43:42 -0500 Received: (nullmailer pid 29195 invoked by uid 1000); Sat, 02 Mar 2019 15:43:41 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: WIP2: index user headers In-Reply-To: <20190302154133.25642-1-david@tethera.net> References: <20190302154133.25642-1-david@tethera.net> Date: Sat, 02 Mar 2019 11:43:41 -0400 Message-ID: <87tvglxowi.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 02 Mar 2019 15:43:44 -0000 David Bremner writes: > This obsoletes [1] > This is getting closer to mergable, but it still needs at least to > sanity check the names of user defined prefixes (see point (a) below). > > The main differences from [1] are [1] is of course id:20181117140901.1870-1-david@tethera.net > > (a) xapian prefixes are no longer defined via upper casing, as this is > locale dependent. The do rely on a ":" separator, hence the need > for some sanitization. > > (b) The caching of user header/prefix information is now done via > string maps, and used more effectively during indexing. >