Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: searching speedup?
Date: Thu, 10 May 2018 10:15:04 +0200	[thread overview]
Message-ID: <86603w9bav.fsf@dod.no> (raw)
In-Reply-To: <87wowdj1bf.fsf@ericabrahamsen.net>

>>>>> Eric Abrahamsen <eric@ericabrahamsen.net>:

> Eric S Fraga <e.fraga@ucl.ac.uk> 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.




  parent reply	other threads:[~2018-05-10  8:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 10:36 Eric S Fraga
2018-05-08 21:16 ` Eric Abrahamsen
2018-05-09  5:50   ` Eric S Fraga
2018-05-10  8:15   ` Steinar Bang [this message]
2018-05-10 10:26     ` Eric S Fraga
2018-05-15 12:55     ` Eric S Fraga
2018-05-16 18:36       ` Steinar Bang

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=86603w9bav.fsf@dod.no \
    --to=sb@dod.no \
    --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).