From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85103 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: blog post on gnus, dovecot, and lucene Date: Thu, 09 Oct 2014 07:30:38 +0200 Message-ID: References: <87y4sszb70.fsf@ericabrahamsen.net> <878uks9ooo.fsf@zoro.exoscale.ch> <87iojvzvtk.fsf@ericabrahamsen.net> <87a956wstj.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412832752 623 80.91.229.3 (9 Oct 2014 05:32:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 05:32:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33347@lists.math.uh.edu Thu Oct 09 07:32:26 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xc6Kv-00043p-LI for ding-account@gmane.org; Thu, 09 Oct 2014 07:32:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Xc6JV-0000Sc-4T; Thu, 09 Oct 2014 00:30:57 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Xc6JK-0000SA-QW for ding@lists.math.uh.edu; Thu, 09 Oct 2014 00:30:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Xc6JJ-0002RV-1r for ding@lists.math.uh.edu; Thu, 09 Oct 2014 00:30:46 -0500 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Xc6JG-0005EU-24 for ding@gnus.org; Thu, 09 Oct 2014 07:30:42 +0200 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id DEB1F140F2 for ; Thu, 9 Oct 2014 07:30:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=postfix; bh=IhAs8OP1I I17pW/+KaM7lxQCg3M=; b=TYdaMRA5AtTH2iMntsCXt783lAXauVAaS+h9oCd7X cYH4dVCbPcUeK48eTklRc3YNwgbfStKfcgxI5UDtzt4wh6JgeqUOMuxQ4466rlfg /YrhcPOLtfzpvCtYUpr+KChDO28oQ2KSfBxaseknj4hJgtAIRBSn6Bs3LH9LGtA4 fM= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=postfix; b=g2y sWaJ9c2zXq9EfZzNWCtCCCUX4zM7tYDSYzfUcmkK3rvyUSuYAQrkl0MNT2f7OTIw jKFo9DXS+tcdmieH6nKOW4VEYTAR5PcBFCS7BbIxDX/vZsW5NTB39onUbhhTF489 sBIOlaoKowUAwAUj0x0YB6MjFyK/Koq2pnrxEos4= Original-Received: from neo.luffy.cx (unknown [IPv6:2a02:1205:34c7:9b40:468a:5bff:fe5c:219d]) by bart.luffy.cx (Postfix) with ESMTPS id A8F051401B for ; Thu, 9 Oct 2014 07:30:39 +0200 (CEST) Original-Received: by neo.luffy.cx (Postfix, from userid 500) id 9D0783A0; Thu, 9 Oct 2014 07:30:38 +0200 (CEST) In-Reply-To: <87a956wstj.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 08 Oct 2014 22:15:52 +0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85103 Archived-At: =E2=9D=A6 8 octobre 2014 22:15 +0800, Eric Abrahamsen =C2=A0: >> I didn't notice that. I added that to my dovecot.conf: >> >> plugin { >> fts =3D lucene >> fts_lucene =3D whitespace_chars=3D@. >> } >> >> And the search became faster. However, I usually don't use FTS (only >> search on recipient or title). If I check right now, I notice that the >> indexes are not up-to-date. So, you may be right. > > But it's pretty interesting that that did something -- I wasn't sure > that calling dovecot as a process would even invoke the configuration > files at all. But you don't think the indexes were updated, huh? > > It might be worth amending the blog post at some point. I've asked about > this stuff on the dovecot mailing list, but no one seemed to know. I have done a doveadm fts rescan to get those indexes updated. So, maybe the solution could be a cronjob? --=20 /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any * way. */ 2.4.3 linux/net/core/netfilter.c