Re: storing From and Subject in xapian
authorIstvan Marko <notmuch@kismala.com>
Thu, 12 May 2011 08:39:58 +0000 (01:39 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:14 +0000 (09:38 -0800)
3e/123e580732cf772b96943138578d2ca0e7ca22 [new file with mode: 0644]

diff --git a/3e/123e580732cf772b96943138578d2ca0e7ca22 b/3e/123e580732cf772b96943138578d2ca0e7ca22
new file mode 100644 (file)
index 0000000..a7fdd6f
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <mi@kismala.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 14F96431FD0\r
+       for <notmuch@notmuchmail.org>; Thu, 12 May 2011 01:40:08 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3njAft1x1Nc1 for <notmuch@notmuchmail.org>;\r
+       Thu, 12 May 2011 01:40:04 -0700 (PDT)\r
+Received: from imarko.xen.prgmr.com (imarko.xen.prgmr.com [72.13.95.244])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 37D30431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 12 May 2011 01:40:04 -0700 (PDT)\r
+Received: from localhost ([127.0.0.1] helo=zsu.kismala.com)\r
+       by imarko.xen.prgmr.com with esmtp (Exim 4.75)\r
+       (envelope-from <mi@kismala.com>)\r
+       id 1QKRR8-0001KT-MZ; Thu, 12 May 2011 01:40:01 -0700\r
+From: Istvan Marko <notmuch@kismala.com>\r
+To: Stewart Smith <stewart@flamingspork.com>\r
+Subject: Re: storing From and Subject in xapian\r
+References: <m3sjsv2kw2.fsf@zsu.kismala.com>\r
+       <BANLkTimvs8ttQCL0AK9UrjcxxgaeqQ9fSg@mail.gmail.com>\r
+       <87zkmwsc2d.fsf@servo.factory.finestructure.net>\r
+       <m38vug5tuy.fsf@zsu.kismala.com> <87ei45rjm4.fsf@flamingspork.com>\r
+Date: Thu, 12 May 2011 01:39:58 -0700\r
+In-Reply-To: <87ei45rjm4.fsf@flamingspork.com> (Stewart Smith's message of\r
+       "Wed, 11 May 2011 13:39:31 +1000")\r
+Message-ID: <m3r58448ip.fsf@zsu.kismala.com>\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: notmuch@notmuchmail.org, Austin Clements <amdragon@mit.edu>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 12 May 2011 08:40:08 -0000\r
+\r
+Stewart Smith <stewart@flamingspork.com> writes:\r
+\r
+> Would it be possible to progressively fill the DB with the new data?\r
+>\r
+> i.e.\r
+>\r
+> if Subject/From not in db for message\r
+>    add Subject/From for this message to DB.\r
+\r
+I started looking into this but then realized that notmuch search opens\r
+the database in read-only mode so it cannot make updates. It might be\r
+desirable to keep it that way for safety and locking reasons.\r
+\r
+-- \r
+       Istvan\r