From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88021 Path: news.gmane.org!.POSTED!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: searching speedup? Date: Thu, 10 May 2018 10:15:04 +0200 Organization: Probably a good idea Message-ID: <86603w9bav.fsf@dod.no> References: <87in869wf8.fsf@ucl.ac.uk> <87wowdj1bf.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1525940010 8651 195.159.176.226 (10 May 2018 08:13:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 May 2018 08:13:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) To: ding@gnus.org Original-X-From: ding-owner+m36235@lists.math.uh.edu Thu May 10 10:13:26 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGghZ-00027e-1j for ding-account@gmane.org; Thu, 10 May 2018 10:13:25 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 436a29e1-542a-11e8-aeb2-b499baa2b07a; Thu, 10 May 2018 08:15:14 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1fGgjG-0004AA-NH; Thu, 10 May 2018 03:15:10 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fGgjE-00049h-Qg for ding@lists.math.uh.edu; Thu, 10 May 2018 03:15:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.90_1) (envelope-from ) id 1fGgjD-0003ID-61 for ding@lists.math.uh.edu; Thu, 10 May 2018 03:15:08 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fGgjB-0000Ou-Ty for ding@gnus.org; Thu, 10 May 2018 10:15:05 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fGgh3-0001TR-O0 for ding@gnus.org; Thu, 10 May 2018 10:12:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:SC5GWv58wyuSpvrFuozJ6+3Kwb8= X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.0679 Ham tokens: 0.000-162--6160h-0s--0d--H*M:fsf, 0.000-67--2553h-0s--0d--workaround, 0.000-41--1556h-0s--0d--folders, 0.000-16--605h-0s--0d--H*UA:Emacs, 0.000-16--598h-0s--0d--D*ac.uk Spam tokens: 0.997-32068--583h-25819s--0d--H*r:quimby.gnus.org, 0.997-19128--357h-15408s--0d--H*RT:sk:junkmas, 0.997-19128--357h-15408s--0d--Hx-spam-relays-internal:sk:junkmas, 0.997-19128--357h-15408s--0d--HX-Envelope-From:sk:junkmas, 0.995-33027--978h-26890s--0d--HTo:D*gnus.org Autolearn status: no autolearn_force=no 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% [score: 0.0679] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88021 Archived-At: >>>>> Eric Abrahamsen : > Eric S Fraga writes: >> I often use G G to search a group. With most imap servers, >> e.g. Google's gmail, this works really well. However, with Microsoft's >> outlook.office365.com exchange server accessed as an imap server, it >> takes a very long time (minutes) to satisfy the search >> request. Annoyingly, if I use the web interface for this server, >> searches are fast. It's only through imap that they are slow, it would >> seem. > My guess is that outlook is building an index for the web interface that > isn't available for the IMAP server. Unfortunately you can't do anything > about that -- when issuing an IMAP SEARCH command, only the server knows > if a search index is available or not. It's possible that there is an > index but it's gotten corrupted, but then you'd expect the web interface > to be slow too. It's more likely that they've done one for the web, but > neglected IMAP. Here's a possible workaround: use davmail http://davmail.sourceforge.net Davmail accesses the Exchange web interface and exposes it as IMAP (and SMTP and caldav and LDAP). A theoretical downside to this, is that the IMAP operation here should be much slower than using the Exchange IMAP directly (since you first access the folders using the web interface, and then get the IMAP traffic). However, if the IMAP support of Exchange is as neglected as it seems to be, then this may not actually be the case. And if you're lucky, searching through davmail IMAP would utilize the FAST search that the web interface enjoys.