You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Sven Over <sv...@svenover.de> on 2010/05/11 16:18:45 UTC

Query server protocol

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!


Re: Query server protocol

Posted by Sebastian Cohnen <se...@googlemail.com>.
hmm, you can simply sign up ( http://wiki.apache.org/couchdb/FrontPage?action=newaccount ) - but I get a weird message "You are not allowed to do newaccount on this page. Login and try again."... I think this was the way I signed up but I'm not 100% sure...


On 11.05.2010, at 16:26, 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?
> 
> Norman
> 
> On Tue, May 11, 2010 at 8:18 AM, Sven Over <sv...@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!
>> 
>> 


Re: Query server protocol

Posted by Norman Barker <no...@gmail.com>.
On Tue, May 11, 2010 at 11:40 AM, J Chris Anderson <jc...@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 <sv...@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

Re: Query server protocol

Posted by J Chris Anderson <jc...@gmail.com>.
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 <sv...@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!
>> 
>> 


Re: Query server protocol

Posted by Norman Barker <no...@gmail.com>.
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?

Norman

On Tue, May 11, 2010 at 8:18 AM, Sven Over <sv...@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!
>
>