From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85105 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.gnus.general Subject: Re: blog post on gnus, dovecot, and lucene Date: Thu, 09 Oct 2014 10:30:53 +0200 Message-ID: References: <87y4sszb70.fsf@ericabrahamsen.net> <878uks9ooo.fsf@zoro.exoscale.ch> <87iojvzvtk.fsf@ericabrahamsen.net> <87a956wstj.fsf@ericabrahamsen.net> <87tx3dtzx5.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1412843492 24546 80.91.229.3 (9 Oct 2014 08:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 08:31:32 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M33349@lists.math.uh.edu Thu Oct 09 10:31:22 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 1Xc986-0001BS-B6 for ding-account@gmane.org; Thu, 09 Oct 2014 10:31:22 +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 1Xc97v-0001F5-JW; Thu, 09 Oct 2014 03:31:11 -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 1Xc97t-0001Eg-Ra for ding@lists.math.uh.edu; Thu, 09 Oct 2014 03:31:09 -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 1Xc97n-0003AN-Ij for ding@lists.math.uh.edu; Thu, 09 Oct 2014 03:31:04 -0500 Original-Received: from mail-wg0-f45.google.com ([74.125.82.45]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Xc97m-0002Db-2w for ding@gnus.org; Thu, 09 Oct 2014 10:31:02 +0200 Original-Received: by mail-wg0-f45.google.com with SMTP id m15so705747wgh.16 for ; Thu, 09 Oct 2014 01:30:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=QANe6GHc5j5+mDBXBd5ba3vQQeyOEqzj82PioxNn1vg=; b=JL1QxepjM4WSieagQqFaQoEDPOzL84R4BjNvIyeik10DbrmylUAD5yJ8nF6fFrMRzR cztcjFMMedfJUSsoqbLPUCKSHTSXwP5SsFgWm4qTUeQP9UdljzEDS9u07h2EdXAaEcRu 52O6tcm4DzP46zxZ1ckxfyrb6OpR1mHhHATX9+8y/m6Psvm4GQVSeBJecDPHiOkPum1z FeEn/GUj3GWLTizz/Pt9MWc1PNjvuStQzOlaqxaDtD/azt/lZz1bvcjAa/ULcdyBwxDB tIUpeRecPugj1WGd9vn2cW54lLqviUsI1WxaWlkpmv9lLn00H8AWhcwY/tnlqxyxlOWy Mu8g== X-Received: by 10.180.93.193 with SMTP id cw1mr2565791wib.68.1412843456552; Thu, 09 Oct 2014 01:30:56 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro-3.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id s1sm21171462wiw.6.2014.10.09.01.30.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Oct 2014 01:30:55 -0700 (PDT) In-Reply-To: <87tx3dtzx5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 09 Oct 2014 16:23:02 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85105 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eric Abrahamsen writes: > Vincent Bernat writes: > >> =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? Instead of a cronjob, one could run it after the sync with offlinesync (I am sure mbsync can do it as well) as a hook which is executed automatically. But there is still the issue of updating after moving messages from gnus.=20 > > Right, that should work fine. At that point, though, I'm inclined just > to have dovecot run as a daemon... I think the daemon is the better way to do it. Cheers, Rainer > > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUNke9AAoJENvXNx4PUvmC/m8H+gMVRc/2jAQZyosApFb3LT1U 3fs1Y/Zu5dXLVqMHLrA9wfvT0U2fs+z2PuzQfNJhz4peX+ViZ+H2LfVLCdTXDydP q2t6XqneiZn1KNnQe/uaCxg+sNUFZGipDhK2FLa5jI8Uq+vOV0KuPIXKxpQGBvql K1DQAXatGhDaVXE3tYAJNShFu9QstFPnsmZ7BlCvNtV3rBSrq3qFYTSE6aB7MEmm RgJ5U0OlHnQnDvHjZgPlmDUtFHwd+JTZaeFLxZvjS09cLwYkhc6OCtMCRpXVtkCI JHUc7vh4oLS5YBdC//5eIvNYVxpzpZG7SryNU5cap0K6w0/BWT56EIxItYV62yM= =RztY -----END PGP SIGNATURE----- --=-=-=--