incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Barker <norman.bar...@gmail.com>
Subject Re: Query server protocol
Date Tue, 11 May 2010 23:10:07 GMT
On Tue, May 11, 2010 at 11:40 AM, J Chris Anderson <jchris@gmail.com> wrote:
>
> On May 11, 2010, at 7:26 AM, Norman Barker wrote:
>
>> Sven,
>>
>> I have just gone through the same thing and am happy to document it,
>> how do you get wiki access to update the docs?
>>
>
> There is also a test spec here:
>
> http://github.com/apache/couchdb/blob/trunk/test/view_server/query_server_spec.rb
>
>> Norman
>>
>> On Tue, May 11, 2010 at 8:18 AM, Sven Over <svenover@svenover.de> wrote:
>>>
>>> Hi there...
>>>
>>> I'm wondering whether a complete description of the query server (view
>>> server) protocol. I have found a page on the wiki
>>> (http://wiki.apache.org/couchdb/View_server), but that lacks description of
>>> the "ddoc" command. That command is mentioned in various mails on the
>>> mailing list, but I couldn't find an exhaustive documentation.
>>>
>>> Is it me, am I blind (if so, say so, wouldn't be the first time), or is
>>> there none?
>>>
>>> Anyway... thanks for your help!
>>>
>>>
>
>

the erlang code was pretty readable as well

In particular for ddoc with an update call,
couch_http_show:send_doc_update_response and that you return an "up"
in the response.

e.g. ['up', newDocument, response]

I am happy to add to the wiki if I can get access.

thanks,

Norman

Mime
View raw message