Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: nnir and notmuch?
Date: Thu, 25 Sep 2014 01:40:57 +0800	[thread overview]
Message-ID: <87fvfgq5li.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87r3z1azyx.fsf@topper.koldfront.dk>

asjo@koldfront.dk (Adam Sjøgren) writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I just set up a new system with the lucene text indexer, and it works
>> much better.
>
> Than what?

Than the native imap search, which is god-awfully slow.

To be clear, I use dovecot as a local imap cache. Originally I wasn't
using it as a daemon: mail came in via isync, which called dovecot at
/usr/lib/dovecot/imap. Then gnus called the same executable via
nnimap-shell-program to get the mail. Dovecot only "woke up" when one or
the other program called it.

Nnir search just used whatever search facilities dovecot provided out of
the box. It was slow. I read about integrating lucene into dovecot, and
as far as I could tell it wouldn't work when you were just calling
dovecot's imap executable -- you had to be running a dovecot instance.

So I switched to an always-running dovecot instance, configured the
lucene indexer, and now the exact same nnir searches go like lightning.

That's basically a summary of the blog post :)

E




  reply	other threads:[~2014-09-24 17:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  8:40 Rainer M Krug
2014-09-23 10:15 ` Steinar Bang
2014-09-23 10:24   ` Rasmus
2014-09-23 10:50     ` Rainer M Krug
2014-09-23 10:48   ` Rainer M Krug
2014-09-23 11:59     ` Steinar Bang
2014-09-23 13:15     ` Andrew Cohen
2014-09-24  7:18       ` Rainer M Krug
2014-09-23 16:14     ` Eric Abrahamsen
2014-09-24  7:26       ` Rainer M Krug
2014-09-24  9:41         ` Eric Abrahamsen
2014-09-24 13:51           ` Adam Sjøgren
2014-09-24 17:40             ` Eric Abrahamsen [this message]
2014-09-24 19:34               ` Alan Schmitt
2014-09-25  0:08                 ` Eric Abrahamsen
2014-09-24 19:47               ` Adam Sjøgren
2014-09-26  7:21               ` Eric S Fraga
2014-09-26  9:05                 ` Rainer M Krug
2014-10-01 18:03                   ` Eric S Fraga
2014-09-26  9:54                 ` Adam Sjøgren
2014-10-01 19:47                   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvfgq5li.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).