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 2696C431FDD for ; Mon, 16 Feb 2015 03:41:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.438 X-Spam-Level: ** X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 2LWQLqNxbSbz for ; Mon, 16 Feb 2015 03:41:00 -0800 (PST) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DA62D431FD5 for ; Mon, 16 Feb 2015 03:40:59 -0800 (PST) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YNK1v-0007zq-Ne; Mon, 16 Feb 2015 11:39:59 +0000 Received: (nullmailer pid 17984 invoked by uid 1000); Mon, 16 Feb 2015 11:39:42 -0000 From: David Bremner To: francois@avalenn.eu, notmuch@notmuchmail.org Subject: Re: reindex a message already indexed In-Reply-To: <20150206090905.GD3306@fjo-extia-HPdeb> References: <20150206090905.GD3306@fjo-extia-HPdeb> User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Mon, 16 Feb 2015 07:39:42 -0400 Message-ID: <87h9um13wh.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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: Mon, 16 Feb 2015 11:41:03 -0000 francois@avalenn.eu writes: > I would like to know is it is possible to force reindexation of an > already indexed message (without losing the tags, of course). > > The concerned messages had their content changed but this not > reflected in notmuch search results. > > Would changing the filename work ? I don't think so with the current code. I didn't go back and stare at the indexing code, but I believe it stops when it recognizes the message-id. Maybe you could rename and change the message-id. But then you'd lose the tags; you'd also have to worry about duplicate files for the same message. d