From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68421 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Indexing Gnus (and other...) mails Date: Thu, 09 Apr 2009 16:40:31 +0200 Message-ID: References: <87y6ubo5th.fsf@an-dro.enstb.org> <87ab6rbi5p.fsf@thinkpad.tsdh.de> <86ab6rypnt.fsf@lifelogs.com> <86ws9uugj0.fsf__11476.5163431459$1239285119$gmane$org@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239288117 19490 80.91.229.12 (9 Apr 2009 14:41:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 14:41:57 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M16857@lists.math.uh.edu Thu Apr 09 16:43:16 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LrvT1-00008C-Gs for ding-account@gmane.org; Thu, 09 Apr 2009 16:42:59 +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 1LrvQs-0000U8-Cb; Thu, 09 Apr 2009 09:40:46 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LrvQq-0000Tl-Up for ding@lists.math.uh.edu; Thu, 09 Apr 2009 09:40:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LrvQl-0005vy-56 for ding@lists.math.uh.edu; Thu, 09 Apr 2009 09:40:44 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LrvRA-00010p-00 for ; Thu, 09 Apr 2009 16:41:04 +0200 Original-Received: from [134.76.4.218] (helo=Macintosh.local) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1LrvQj-0003pT-Sz for ding@gnus.org; Thu, 09 Apr 2009 16:40:37 +0200 Original-Newsgroups: gmane.emacs.gnus.user User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (darwin) Mail-Copies-To: never Cancel-Lock: sha1:rYdW8HhIfrgC/Oda7B9+dyAVy9E= Mail-Followup-To: ding@gnus.org In-Reply-To: <86ws9uugj0.fsf__11476.5163431459$1239285119$gmane$org@lifelogs.com> (Ted Zlatanov's message of "Thu, 09 Apr 2009 08:02:11 -0500") Posted-To: gmane.emacs.gnus.user X-Spam-Score: -1.6 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68421 Archived-At: The following message is a courtesy copy of an article that has been posted to gmane.emacs.gnus.user as well. Ted Zlatanov writes: > nnir is the backend that implements search at the highest level in Gnus. > nnmairix is independent of it, but could probably be converted to a nnir > backend. When I started with this, I thought about integrating mairix into nnir, but the way nnir works internally doesn't really fit too well for mairix. Mairix does not care about mailboxes and article numbers; it works strictly on the filesystem level, and search results are simply links to the original message files. While this has some obvious advantages (it's fast, and the resulting mailbox is "just there", but still occupies almost no filespace), it makes other things pretty hard to do, e.g. finding the original article in Gnus and propagating marks to it. With IMAP SEARCH, it's pretty much the other way round - you know the original articles, and the main work is to produce a mailbox which integrates all the search results and transparently maps article numbers in that mailbox to the original ones. > TZ> I don't know how IMAP servers implement SEARCH. Is the speed decent? Tassilo already gave numbers on that. Usually, searching in the body is slow. Since building indexes for full text search puts quite some load on the server and can takes lots of filespace, it's usually only an option for people managing their own IMAP servers (for example, Squat takes about 30% of the mailbox size in the default configuration) > If anyone has experience integrating mairix with Courier or Dovecot, > please let me know. You mean as a plugin? Otherwise, it's pretty straightforward. I call it via ssh slave connections directly on the server. -David