On Tue, Dec 2, 2008 at 11:10 PM, Jedediah Smith
<[EMAIL PROTECTED]> wrote:
>
> How about "live
> views"? e.g.
>
> /db/_view/email/by_date?follow=true&after_seq=300
>
> But then you need a way to represent removed rows.. seems simple enough:
>
> {"id":"abc", "key":"123", "deleted":true}
>
>

This is essentially how replication via views will work. Replication
views have slightly different semantics (they aren't stored on the
server, for one thing -- it's up to the client to maintain the
replication state.)

As a result their function signature is different (they don't emit as
they aren't sorted by key, just seq #). The client supplies a
replication function, which the server runs across docs in seq order,
replicating docs that match the function. This is looking very
powerful.

Chris

-- 
Chris Anderson
http://jchris.mfdz.com

Reply via email to