On Sat, Oct 4, 2008 at 5:26 PM, Niket Patel <[EMAIL PROTECTED]> wrote:
> To be clear, I can see following example from wiki (modified)
> http://wiki.apache.org/couchdb/HttpDocumentApi
>
> {
> "docs": [{
> "_id": "0",
> "_rev": "3682408536",
> _deleted = true
> },
> {
> "_id": "1",
> "_rev": "3206753266",
> "integer": 2,
> "string": "2"
> }]
> }
> if I send _bulk_docs with above POST request.
> next replication will replicate doc._id == 1 but not doc._id == 0?
> So, on all other nodes I need to send _bulk_docs request for doc._id == 0
>
> And,
> _deleted = true looks bit weird. why its not _deleted: true or "_deleted":
> true ?
>
You're right, that's not valid json, it'd be:
{
"_id": "0",
"_rev": "3682408536",
"_deleted": true
}
> On Oct 5, 2008, at 2:40 AM, Ayende Rahien wrote:
>
>> It remove a document from the repository, but it doesn't record this fact.
>> As far as CDB is concerned, the document never exists.
>> The purge doesn't get replicated.
>
>