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 073CE431FBC for ; Wed, 27 Jan 2010 06:13:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.511 X-Spam-Level: X-Spam-Status: No, score=-0.511 tagged_above=-999 required=5 tests=[AWL=-0.512, BAYES_50=0.001] autolearn=ham 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 38ECbACWw19w for ; Wed, 27 Jan 2010 06:13:18 -0800 (PST) Received: from hosted.simon-cozens.org (hosted.simon-cozens.org [78.129.197.129]) by olra.theworths.org (Postfix) with ESMTP id 263E1431FAE for ; Wed, 27 Jan 2010 06:13:18 -0800 (PST) Received: from cpc1-stav12-0-0-cust457.aztw.cable.virginmedia.com ([92.235.229.202] helo=foobar.local) by hosted.simon-cozens.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Na8du-0005RU-Ve; Wed, 27 Jan 2010 14:13:17 +0000 Received: from foobar.local (practivate.adobe.com [127.0.0.1]) by foobar.local (Postfix) with ESMTP id 5E7AAEA10F1; Wed, 27 Jan 2010 14:12:50 +0000 (GMT) Message-ID: <4B6049E2.2030209@simon-cozens.org> Date: Wed, 27 Jan 2010 14:12:50 +0000 From: Simon Cozens User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: notmuch X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 92.235.229.202 X-SA-Exim-Mail-From: simon@simon-cozens.org X-SA-Exim-Version: 4.2.1 (built Sat, 01 Aug 2009 12:09:26 +0000) X-SA-Exim-Scanned: Yes (on hosted.simon-cozens.org) Subject: [notmuch] Indexing without files and directories 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: Wed, 27 Jan 2010 14:13:19 -0000 Hi all, I don't want to throw a spanner in the works, but I am intending to use notmuch for indexing in a scenario where the email doesn't hit the disk - the notmuch model seems to rely pretty heavily on directories and files but I'm working with email being delivered to a script for indexing and then stored into a database. So far I've been hacking it by feeding "/dev/stdin" as a filename but that leads to interesting fun when I forget and try to access something via a notmuch_message object. With all this talk of a new object store, can I put in a plea for - at least at the API level - some way of indexing based on a user-defined location identifier? (In my case, a database row ID.) Thanks, Simon