Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: Ding Mailing List <ding@gnus.org>
Subject: Re: Indexing Gnus (and other...) mails
Date: Thu, 09 Apr 2009 09:15:35 +0200	[thread overview]
Message-ID: <87ocv6uwko.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <87vdpfkniv.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 08 Apr 2009 20:28:56 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

Hi!

>> This made me think about IMAP specifically.
>>
>> Gnus (imap.el AFAICT, so the support is missing all the way down)
>> does not support the IMAP SEARCH command, except by UID.  It probably
>> should allow SEARCH by TEXT, FROM, TO, SUBJECT, and probably all the
>> other standard search keys in RFC 3501 (section 6.4.4) [1].
>>
>> I don't know how IMAP servers implement SEARCH.  Is the speed decent?
>
> I use a local dovecot server and it doesn't index anything except
> message ids.  When I search for something (using nnir) it'll take
> quite a long time for large groups and it constantly accesses the
> filesystem.  I guess something like grep is used here.

Oh, this is plain wrong!  It's very slow for searching the BODY, but all
(or at least the important ones) are indexed by dovecot out of the box.
Searching for let's say a word in the subject takes about 2-3 secs on my
emacs-devel folder with about 20000 messages.

And for speading up searches in the whole message including BODY,
dovecot offers plugins:

  http://wiki.dovecot.org/Plugins/FTS

So I'd love to see a better support for IMAP SEARCH in Gnus.  nnir
works, but sometimes it's a bit humpy.  For example if I search for a
string the second time each result message appears two times in the
search result group.

And what bothers me most: When I want to see a result message in the
original group (I want to reply using the groups posting styles and
parameters) I hit G T on the message (gnus-summary-nnir-goto-thread) but
then I'm queried for my username / password for the local imap server.
Those informations are already in my .authinfo...

Bye,
Tassilo
-- 
A child of five could understand this! Fetch me a child of five!



  reply	other threads:[~2009-04-09  7:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y6ubo5th.fsf@an-dro.enstb.org>
     [not found] ` <87ab6rbi5p.fsf@thinkpad.tsdh.de>
     [not found]   ` <mailman.4911.1239209214.31690.info-gnus-english@gnu.org>
2009-04-08 18:19     ` Ted Zlatanov
2009-04-08 18:28       ` Tassilo Horn
2009-04-09  7:15         ` Tassilo Horn [this message]
2009-04-09 12:22           ` Tassilo Horn
2009-04-09 18:34           ` Tassilo Horn
2009-04-09 13:02       ` Ted Zlatanov
     [not found]       ` <86ws9uugj0.fsf__11476.5163431459$1239285119$gmane$org@lifelogs.com>
2009-04-09 14:40         ` David Engster

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=87ocv6uwko.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.org \
    --cc=tzz@lifelogs.com \
    /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).