Re: draft-melnikov-imap-search-res

Alexey Melnikov <Alexey.Melnikov@isode.com> Tue, 19 October 2004 16:22 UTC

Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id i9JGMsWC095438; Tue, 19 Oct 2004 09:22:54 -0700 (PDT) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id i9JGMrNR095437; Tue, 19 Oct 2004 09:22:53 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-imapext@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by above.proper.com (8.12.11/8.12.9) with ESMTP id i9JGMr2u095430 for <ietf-imapext@imc.org>; Tue, 19 Oct 2004 09:22:53 -0700 (PDT) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.0.116] (shiny.isode.com [62.3.217.250]) by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 19 Oct 2004 17:22:50 +0100
Message-ID: <41753F59.30508@isode.com>
Date: Tue, 19 Oct 2004 17:22:49 +0100
From: Alexey Melnikov <Alexey.Melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
To: Mark Crispin <mrc@CAC.Washington.EDU>
CC: ietf-imapext@imc.org
Subject: Re: draft-melnikov-imap-search-res
References: <7yoPjUFDAsyLma6mHUEDow.md5@libertango.oryx.com> <4174F9C2.40304@isode.com> <Pine.LNX.4.62.0410190837000.19325@shiva0.cac.washington.edu>
In-Reply-To: <Pine.LNX.4.62.0410190837000.19325@shiva0.cac.washington.edu>
MIME-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-transfer-encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> The problem is when the search result is long and sparse, meaning that 
> it can not be collapsed easily with range syntax.  With large enough 
> mailboxes, the result is a command which is larger than the maximum 
> command length, and thus the command needs to be broken up into 
> multiple commands (which in turn creates its own problems).

One thing I wanted to do but hasn't: add a SEARCH option to "suppress" 
untagged SEARCH responses. Something like

a SEARCH 1:10,20:30,47 (NORESULT)

I am not sure whether this should be a part of the SEARCHRES extension, 
or a more generic extension for SEARCH options. The latter might include 
other options like COUNT (return how many were found), MIN (minimal 
found message number/UID) & MAX.

Alexey