From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68418 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Indexing Gnus (and other...) mails Date: Thu, 09 Apr 2009 09:15:35 +0200 Message-ID: <87ocv6uwko.fsf@thinkpad.tsdh.de> References: <87y6ubo5th.fsf@an-dro.enstb.org> <87ab6rbi5p.fsf@thinkpad.tsdh.de> <86ab6rypnt.fsf@lifelogs.com> <87vdpfkniv.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239261568 1380 80.91.229.12 (9 Apr 2009 07:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 07:19:28 +0000 (UTC) Cc: Ding Mailing List To: Ted Zlatanov Original-X-From: ding-owner+M16854@lists.math.uh.edu Thu Apr 09 09:20:47 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 1LroZ4-0001Fd-Gl for ding-account@gmane.org; Thu, 09 Apr 2009 09:20:46 +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 1LroWq-0006fs-FQ; Thu, 09 Apr 2009 02:18:28 -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 1LroUC-0006ef-5V for ding@lists.math.uh.edu; Thu, 09 Apr 2009 02:15:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LroU6-0006xr-74 for ding@lists.math.uh.edu; Thu, 09 Apr 2009 02:15:44 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LroUV-0006uD-00 for ; Thu, 09 Apr 2009 09:16:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 1984E789B59F; Thu, 9 Apr 2009 09:15:37 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12177-05; Thu, 9 Apr 2009 09:15:35 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp156.uni-koblenz.de [141.26.71.156]) by deliver.uni-koblenz.de (Postfix) with ESMTP id DE0A2789B359; Thu, 9 Apr 2009 09:15:35 +0200 (CEST) Mail-Copies-To: never Mail-Followup-To: Ted Zlatanov , Ding Mailing List In-Reply-To: <87vdpfkniv.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 08 Apr 2009 20:28:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68418 Archived-At: Tassilo Horn 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!