Re: draft-melnikov-imap-search-res

Alexey Melnikov <Alexey.Melnikov@isode.com> Tue, 19 October 2004 15:47 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 i9JFljE5089807; Tue, 19 Oct 2004 08:47:45 -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 i9JFljwT089806; Tue, 19 Oct 2004 08:47:45 -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 i9JFli1K089792 for <ietf-imapext@imc.org>; Tue, 19 Oct 2004 08:47:44 -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 16:47:39 +0100
Message-ID: <4175371A.7030707@isode.com>
Date: Tue, 19 Oct 2004 16:47:38 +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: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, 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).
>
> I don't particularly like "<<", since it implies some sort of UNIX 
> like piping (and implications can cause a lot of problems!), and 
> suggest something like "$" or even an atom (such as "LASTSEARCH") instead.

I will change it to "$", thanks.

> One possibly messy consequence is if this is allowed in a SEARCH 
> command; this would AND previous search results with addition criteria.

One can also OR it, e.g.

a SEARCH <<,90:120

>   I can see why people may want to do that.  However, with complex 
> SEARCHes, especially using IMAP4-style nesting, this can get extremely 
> complicated.

Alexey