Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 988B8431FB6 for ; Sun, 12 Dec 2010 02:43:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ius-W-Z7Vkzm for ; Sun, 12 Dec 2010 02:43:28 -0800 (PST) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.214.171]) by olra.theworths.org (Postfix) with ESMTP id 02F4C431FB5 for ; Sun, 12 Dec 2010 02:43:27 -0800 (PST) Received: by iwn2 with SMTP id 2so595130iwn.2 for ; Sun, 12 Dec 2010 02:43:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YPTws1cff+qAlerDZhAUsWuQnQaocinA4dpLo0XFPeI=; b=BbGpx7qd9FILwiMtrvDFRCRwit0GtLAnaTddgoxBkyXlpeDFN7UVIKL2TodtsUsB6b eQkuRmJd+mhogZF84GUM3lt6IwWroSmSAUYRbuNnO6HyHw/55HO9cT7MiWiJ2XqBDhLu 2gv/DCeZPP23bA+cVQGc50l+B5YnOWZgQKMkc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nmiDFixLwGCv382JicFzBzIaS1ddXYMz1N3jTTu26wcd2kWDapMEkGrMHUYJblcRt7 KIxne1kT9X73ZiRBUtMth+OFsMori3WzhOz8KFlSj42hOzeeiFrZKJDecgDjVDz+9hfN E7cjH7KYgIXQ0B3ZQ47fukHcRChSwIQ32Yx60= MIME-Version: 1.0 Received: by 10.42.169.193 with SMTP id c1mr887011icz.492.1292150605902; Sun, 12 Dec 2010 02:43:25 -0800 (PST) Received: by 10.42.229.65 with HTTP; Sun, 12 Dec 2010 02:43:25 -0800 (PST) In-Reply-To: References: <1291235635-16523-1-git-send-email-joel.borggren.franck@gmail.com> Date: Sun, 12 Dec 2010 11:43:25 +0100 Message-ID: Subject: Re: [PATCH] add headers cc: bcc: and to: (as exactto:) to search index From: =?ISO-8859-1?Q?Joel_Borggr=E9n=2DFranck?= To: Austin Clements Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Sun, 12 Dec 2010 10:43:28 -0000 On Sun, Dec 12, 2010 at 7:41 AM, Austin Clements wrote= : > Short of full header indexing, wouldn't a better way to achieve this be t= o > store only the "to" header as "XTO", the "cc" header "XCC", and the "bcc" > header as "XBCC" and use Xapian's multi-prefix support to map the "to:" > query prefix to "XTO", "XCC", and "XBCC"? =A0That way you're not storing = twice > as many copies of =A0every address. > Probably. I know nothing of Xapian, how would you solve it? cheers /Joel