Re: New draft: SEARCH return options

Alexey Melnikov <Alexey.Melnikov@isode.com> Tue, 15 February 2005 11:34 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 j1FBYWSq002214; Tue, 15 Feb 2005 03:34:32 -0800 (PST) (envelope-from owner-ietf-imapext@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j1FBYWPd002213; Tue, 15 Feb 2005 03:34:32 -0800 (PST)
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 j1FBYVnW002197 for <ietf-imapext@imc.org>; Tue, 15 Feb 2005 03:34:31 -0800 (PST) (envelope-from Alexey.Melnikov@isode.com)
Received: from [172.16.1.198] (shiny.isode.com [62.3.217.250]) by rufus.isode.com via TCP (internal) with ESMTPA; Tue, 15 Feb 2005 11:33:59 +0000
Message-ID: <4211DE24.9000406@isode.com>
Date: Tue, 15 Feb 2005 11:33:56 +0000
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
MIME-Version: 1.0
To: Philip Guenther <guenther+imap@sendmail.com>
CC: Cyrus Daboo <daboo@isamet.com>, IMAP Extensions WG <ietf-imapext@imc.org>
Subject: Re: New draft: SEARCH return options
References: <200502112027.PAA05610@ietf.org> <4210BC19.4070207@isode.com> <81E5C72B6B352251B49C0B64@ninevah.cyrusoft.com> <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
In-Reply-To: <200502142346.j1ENkOHx073188@lab.smi.sendmail.com>
Content-Type: text/plain; charset="us-ascii"; 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>

Philip Guenther wrote:

>[Not sent to lemonade.  Do we really need to carry on this discussion in
>both places?]
>  
>
Thanks!

>Cyrus Daboo <daboo@isamet.com> writes:
>...
>  
>
>>There is also an interesting possibility of tying the two together via the 
>>ID return option I proposed. For example:
>>
>>C: a SEARCH RETURN (ID 1 ALL) UNSEEN
>>    
>>
>...
>  
>
>>C: FETCH $[1] (UID INTERNALDATE FLAGS RFC822.HEADER)
>>    
>>
>...
>  
>
>>The fetch commands act on the result of the different searches, referenced 
>>by the ID option value. This means that a client could use multiple search 
>>result sets simultaneously, as opposed to in series, as they would have to 
>>right now.
>>    
>>
>
>The '$' token in draft-melnikov-imap-search-res-01.txt references the
>last SEARCH result, so it only requires the server to remember the one
>such result.
>
Yes, that was the original intent. Even if the client has specified 
"RETURN (COUNT)", the "$" construct still references the set of found 
messages.

>  If multiple search responses need to be remembered then
>some limit needs to be placed on how many a client can expect a server
>to remember and perhaps the client will need some way of controlling
>their lifetime.
>  
>
Yes.
I was thinking about remembering multiple SEARCH results, but this might 
overcomplicate the extension without much benefit.
What people think about this?

Alexey